view src/monad_class.hs @ 41:8fc2ac1f901f

Add delta definition in agda
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Fri, 13 Feb 2015 11:48:40 +0900
parents df55c9df8aac
children
line wrap: on
line source

class Monad m where
    return :: a -> (m a)
    (>>=)  :: (m a) -> (a -> (m b)) -> (m b)