diff options
Diffstat (limited to 'lib/FunctorToMaybe.hs')
-rw-r--r-- | lib/FunctorToMaybe.hs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/FunctorToMaybe.hs b/lib/FunctorToMaybe.hs index b43a27a..9cd26e4 100644 --- a/lib/FunctorToMaybe.hs +++ b/lib/FunctorToMaybe.hs | |||
@@ -18,14 +18,8 @@ | |||
18 | -- implemented the 'FunctorToMaybe' type class, then 'functorToEither' could be used to | 18 | -- implemented the 'FunctorToMaybe' type class, then 'functorToEither' could be used to |
19 | -- seperate the noise from the work-product. | 19 | -- seperate the noise from the work-product. |
20 | -- | 20 | -- |
21 | {-# LANGUAGE CPP #-} | ||
22 | module FunctorToMaybe where | 21 | module FunctorToMaybe where |
23 | 22 | ||
24 | #if MIN_VERSION_base(4,6,0) | ||
25 | #else | ||
26 | import Control.Monad.Instances() | ||
27 | #endif | ||
28 | |||
29 | -- | The 'FunctorToMaybe' class genaralizes 'Maybe' in that the | 23 | -- | The 'FunctorToMaybe' class genaralizes 'Maybe' in that the |
30 | -- there may be multiple null elements. | 24 | -- there may be multiple null elements. |
31 | -- | 25 | -- |