Advertisement
Guest User

Untitled

a guest
Jun 26th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. module Basics where
  2.  
  3. {-
  4. 1. What is Semigroup? Define the type class.
  5.  
  6. 2. What is Monoid? Define the type class.
  7.  
  8. 3. What is Functor? Define the type class.
  9.  
  10. 4. What is Applicative? Define the type class.
  11.  
  12. 5. What is Monad? Define the type class.
  13.  
  14. 6. Define fmap in terms of bind.
  15.  
  16. 7. Define bind in terms of fmap and join.
  17.  
  18. -}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement