blob: 86b5d1c821cfacbfaa30453e624af1da1332b2ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class EMonad m where
aaaaa :: m a -> (a -> m b) -> m b
bbbbb :: m a -> m b -> m b
bbbbb m k = aaaaa m (\_ -> k)
-- = \M \A \B -> \m:(M A) -> \k:(M B) -> aaaaa M A B m (\_:A -> k: M B)
-- Free types must include "A"!!!
main = putStr "hello world\n"
|