Subdomain Posts
Haskell | 4 hours ago
Haskell | 4 hours ago
Haskell | 4 hours ago
Haskell | 2 days ago
Haskell | 6 days ago
Haskell | 6 days ago
Haskell | 6 days ago
Haskell | 6 days ago
Haskell | 7 days ago
JavaScript | 8 days ago
Recent Posts
PHP | 18 sec ago
C++ | 38 sec ago
Z80 Assembler | 44 sec ago
JavaScript | 45 sec ago
JavaScript | 47 sec ago
None | 1 min ago
None | 1 min ago
C++ | 1 min ago
None | 2 min ago
None | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 4th of Feb 2010 07:52:15 PM Download | Raw | Embed | Report
  1. class Functor f where
  2.     fmap :: ( a -> b ) -> f a -> f b
  3.  
  4. class ContraFunctor f where
  5.     contraMap :: ( a -> b ) -> (f b -> f a)
  6.  
  7. instance ContraFunctor Maybe where
  8.     contraMap f (Just a) = Just (f a)
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: