:: (a -> b) -> [a] -> [b] package:comonad

A suitable default definition for fmap for a Comonad. Promotes a function to a comonad. You can only safely use to define fmap if your Comonad defined extend, not just duplicate, since defining extend in terms of duplicate uses fmap!
fmap f = liftW f = extend (f . extract)