7.2

TheOtherPrelude/Utilities.hs

module TheOtherPrelude.Utilities whereimportPrelude()-- hide everything-- this is the if-then-else proposal-- the name has been chosen to reflect the magic of Church booleans!
boolean True x _= x
boolean False _ y = y

8 How To Use

-- ''The Other Prelude'' is an alternative, not a replacement.-- So we need to hide everything from the PreludeimportPrelude()-- This is just an example assuming there is nothing to hideimport TheOtherPrelude
-- Hopefully, this module will contain lift,...-- Standard convention is to use M.lift (instead of liftM)importqualified TheOtherPrelude.Monad.Kleisli as M