Skip to content

Commit 6b55116

Browse files
committed
missing warning spans strike again
1 parent 6928161 commit 6b55116

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Control/Monad/Effect/Ref.purs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ import Prelude (Unit, unit)
1414
foreign import data Ref :: Type -> Type
1515

1616
-- | Create a new mutable reference containing the specified value.
17-
foreign import newRef :: forall s r. s -> Effect (Ref s)
17+
foreign import newRef :: forall s. s -> Effect (Ref s)
1818

1919
-- | Read the current value of a mutable reference
20-
foreign import readRef :: forall s r. Ref s -> Effect s
20+
foreign import readRef :: forall s. Ref s -> Effect s
2121

2222
-- | Update the value of a mutable reference by applying a function
2323
-- | to the current value.
24-
foreign import modifyRef' :: forall s b r. Ref s -> (s -> { state :: s, value :: b }) -> Effect b
24+
foreign import modifyRef' :: forall s b. Ref s -> (s -> { state :: s, value :: b }) -> Effect b
2525

2626
-- | Update the value of a mutable reference by applying a function
2727
-- | to the current value.
28-
modifyRef :: forall s r. Ref s -> (s -> s) -> Effect Unit
28+
modifyRef :: forall s. Ref s -> (s -> s) -> Effect Unit
2929
modifyRef ref f = modifyRef' ref (\s -> { state: f s, value: unit })
3030

3131
-- | Update the value of a mutable reference to the specified value.
32-
foreign import writeRef :: forall s r. Ref s -> s -> Effect Unit
32+
foreign import writeRef :: forall s. Ref s -> s -> Effect Unit

0 commit comments

Comments
 (0)