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
68
68
#### ` pureST `
69
69
70
70
``` 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
72
72
```
73
73
74
74
A 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
38
38
-- |
39
39
-- | Note: since this function has a rank-2 type, it may cause problems to apply this function using the `$` operator. The recommended approach
40
40
-- | 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
42
42
pureST st = runPure (runST st)
You can’t perform that action at this time.
0 commit comments