From b47521991a7574f4f3554f7c5444a8c60cfe9efd Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Tue, 16 Sep 2014 19:19:25 +0200 Subject: Move `Maybe`-typedef into GHC.Base This is preparatory work for reintroducing SPECIALISEs that were lost in d94de87252d0fe2ae97341d186b03a2fbe136b04 Differential Revision: https://phabricator.haskell.org/D214 --- testsuite/tests/ghci/scripts/ghci023.stdout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/tests/ghci/scripts/ghci023.stdout') diff --git a/testsuite/tests/ghci/scripts/ghci023.stdout b/testsuite/tests/ghci/scripts/ghci023.stdout index 5f19876614..51c1b9196a 100644 --- a/testsuite/tests/ghci/scripts/ghci023.stdout +++ b/testsuite/tests/ghci/scripts/ghci023.stdout @@ -1,7 +1,6 @@ -- testing ghci multiline commands :{ .. :} -- via stdin (1,2,3) -data Maybe a = Nothing | Just a Data.Maybe.catMaybes :: [Maybe a] -> [a] Data.Maybe.fromJust :: Maybe a -> a Data.Maybe.fromMaybe :: a -> Maybe a -> a @@ -11,6 +10,7 @@ Data.Maybe.listToMaybe :: [a] -> Maybe a Data.Maybe.mapMaybe :: (a -> Maybe b) -> [a] -> [b] maybe :: b -> (a -> b) -> Maybe a -> b Data.Maybe.maybeToList :: Maybe a -> [a] +data Maybe a = Nothing | Just a -- via readFile (True,False) id :: a -> a -- cgit v1.2.1