view src/functor_class.hs @ 23:61e5659e04a9

Add description for natural deduction
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Mon, 09 Feb 2015 22:13:18 +0900
parents 086fc8bb6ea9
children
line wrap: on
line source

class Functor f where
  fmap :: (a -> b) -> f a -> f b