Skip to content

Commit babd1ca

Browse files
author
Jake Brownson
committed
leave off the "| r" in pureST
1 parent 4f79548 commit babd1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Control/Monad/ST.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ foreign import runST :: forall a r. (forall h. Eff (st :: ST h | r) a) -> Eff r
3838
-- |
3939
-- | Note: since this function has a rank-2 type, it may cause problems to apply this function using the `$` operator. The recommended approach
4040
-- | is to use parentheses instead.
41-
pureST :: forall a. (forall h r. Eff (st :: ST h | r) a) -> a
41+
pureST :: forall a. (forall h. Eff (st :: ST h) a) -> a
4242
pureST st = runPure (runST st)

0 commit comments

Comments
 (0)