File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 39
39
40
40
go :: forall f a. (Functor f) => (f (Free f a) -> Free f a) -> Free f a -> a
41
41
42
+ -- Note: can blow the stack!
43
+ goM :: forall f m a. (Functor f, Monad m) => (f (Free f a) -> m (Free f a)) -> Free f a -> m a
44
+
45
+ goEff :: forall e f a. (Functor f) => (f (Free f a) -> Eff e (Free f a)) -> Free f a -> Eff e a
46
+
42
47
liftF :: forall f a. (Functor f) => f a -> Free f a
43
48
44
49
pureF :: forall f a. (Applicative f) => a -> Free f a
45
50
46
51
-- Note: can blow the stack!
47
- iterM :: forall f m a. (Functor f, Monad m) => (f (m a) -> m a) -> Free f a -> m a
52
+ iterM :: forall f m a. (Functor f, Monad m) => (forall a. f (m a) -> m a) -> Free f a -> m a
48
53
49
54
resume :: forall f a. (Functor f) => Free f a -> Either (f (Free f a)) a
50
55
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " purescript-free" ,
3
- "version" : " 0.0.7 " ,
3
+ "version" : " 0.0.8 " ,
4
4
"homepage" : " https://github.com/purescript-contrib/purescript-free" ,
5
5
"description" : " Free monads" ,
6
6
"keywords" : [" purescript" ],
You can’t perform that action at this time.
0 commit comments