diff options
Diffstat (limited to 'prelude/Prelude.hs')
-rw-r--r-- | prelude/Prelude.hs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/prelude/Prelude.hs b/prelude/Prelude.hs new file mode 100644 index 000000000..68e1b30f7 --- /dev/null +++ b/prelude/Prelude.hs @@ -0,0 +1,22 @@ +{-# LANGUAGE PackageImports #-} +{-# LANGUAGE CPP #-} + +module Prelude +( + module P +, Monoid(..) +, Semigroup(..) +, Applicative(..) +#if MIN_VERSION_base(4,9,0) +-- <> is exported in Semigroup +#else +, (<>) +#endif +) +where + +import "base" Prelude as P +import Data.Semigroup (Semigroup(..)) -- includes (<>) +#if MIN_VERSION_base(4,11,0) +import Data.Monoid (Monoid(..)) +#endif |