Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Prelude/Either.hs
module Prelude where either :: (a->c) -> (b->c) -> (Either a b) -> c either f g (Left x) = f x either f g (Right x) = g x