File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ It may cause problems to apply this function using the `$` operator. The recomme
6868#### ` pureST `
6969
7070``` purescript
71- pureST :: forall a. (forall h r . Eff (st :: ST h | r ) a) -> a
71+ pureST :: forall a. (forall h. Eff (st :: ST h) a) -> a
7272```
7373
7474A convenience function which combines ` runST ` with ` runPure ` , which can be used when the only required effect is ` ST ` .
Original file line number Diff line number Diff 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
4242pureST st = runPure (runST st)
You can’t perform that action at this time.
0 commit comments