
31 Dec
2015
31 Dec
'15
8:06 a.m.
According to LYH, the list is an instance of the Functor type class: instance Functor [] where fmap = map Why does 'f' not appear in this expression?, considering that Functor is defined as class Functor f where fmap :: (a -> b) -> f a -> f b Overall, I'm a bit confused about the relationship between the type constructor f and []. Thanks, - Olumide