Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Prelude/Functor_Maybe.hs
module Prelude(Functor(..)) where import CFunctor instance Functor Maybe where fmap f Nothing = Nothing fmap f (Just x) = Just (f x)