git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Forever example
bdad073Phil Freeman
examples/passing/Do.purs+5
@@ -57,4 +57,9 @@ test8 = do Just (do Just 1)
57
57
58foo x y z = x + y + z
58foo x y z = x + y + z
59
59
60+forever :: forall m a b. (Monad m) => m a -> m b
61+forever a = do
62+ a
63+ forever a
64+
60test9 = foo <$> Just 1 <*> Just 2 <*> Just 3
65test9 = foo <$> Just 1 <*> Just 2 <*> Just 3