Skip to content

Commit 3c9a947

Browse files
committed
Use parametric signatures for Either constructors
1 parent dd1835b commit 3c9a947

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Control/Monad/Eff/AVar.purs

+6-6
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ readVar avar cb = Fn.runFn4 _readVar Left Right avar cb
7979
tryReadVar eff a. AVar a AVarEff eff (Maybe a)
8080
tryReadVar avar = Fn.runFn3 _tryReadVar Nothing Just avar
8181

82-
foreign import _killVar eff a. Fn.Fn4 (Error Either Error a) (a Either Error a) (AVar a) Error (AVarEff eff Unit)
83-
foreign import _putVar eff a. Fn.Fn5 (Error Either Error a) (a Either Error a) (AVar a) a (AVarCallback eff Unit) (AVarEff eff (AVarEff eff Unit))
84-
foreign import _tryPutVar eff a. Fn.Fn4 (Error Either Error a) (a Either Error a) (AVar a) a (AVarEff eff Boolean)
85-
foreign import _takeVar eff a. Fn.Fn4 (Error Either Error a) (a Either Error a) (AVar a) (AVarCallback eff a) (AVarEff eff (AVarEff eff Unit))
86-
foreign import _tryTakeVar eff a. Fn.Fn5 (Error Either Error a) (a Either Error a) (Maybe a) (a Maybe a) (AVar a) (AVarEff eff (Maybe a))
87-
foreign import _readVar eff a. Fn.Fn4 (Error Either Error a) (a Either Error a) (AVar a) (AVarCallback eff a) (AVarEff eff (AVarEff eff Unit))
82+
foreign import _killVar eff a. Fn.Fn4 ( x y. x Either x y) ( x y. y Either x y) (AVar a) Error (AVarEff eff Unit)
83+
foreign import _putVar eff a. Fn.Fn5 ( x y. x Either x y) ( x y. y Either x y) (AVar a) a (AVarCallback eff Unit) (AVarEff eff (AVarEff eff Unit))
84+
foreign import _tryPutVar eff a. Fn.Fn4 ( x y. x Either x y) ( x y. y Either x y) (AVar a) a (AVarEff eff Boolean)
85+
foreign import _takeVar eff a. Fn.Fn4 ( x y. x Either x y) ( x y. y Either x y) (AVar a) (AVarCallback eff a) (AVarEff eff (AVarEff eff Unit))
86+
foreign import _tryTakeVar eff a. Fn.Fn5 ( x y. x Either x y) ( x y. y Either x y) (Maybe a) (a Maybe a) (AVar a) (AVarEff eff (Maybe a))
87+
foreign import _readVar eff a. Fn.Fn4 ( x y. x Either x y) ( x y. y Either x y) (AVar a) (AVarCallback eff a) (AVarEff eff (AVarEff eff Unit))
8888
foreign import _tryReadVar eff a. Fn.Fn3 (Maybe a) (a Maybe a) (AVar a) (AVarEff eff (Maybe a))

0 commit comments

Comments
 (0)