import GHC.Base
#endif
+#ifdef __NHC__
+import Prelude
+import Prelude (Maybe(..), maybe)
+import Maybe
+ ( isJust
+ , isNothing
+ , fromJust
+ , fromMaybe
+ , listToMaybe
+ , maybeToList
+ , catMaybes
+ , mapMaybe
+ )
+#else
+
#ifndef __HUGS__
-- ---------------------------------------------------------------------------
-- The Maybe type, and instances
Nothing -> rs
Just r -> r:rs
+#endif /* else not __NHC__ */