diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-09-16 19:19:25 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-09-16 22:43:17 +0200 |
commit | b47521991a7574f4f3554f7c5444a8c60cfe9efd (patch) | |
tree | 55bfb1876f31b841ae9d750aa87489ed6d2dc667 /testsuite/tests/ghci/scripts/ghci023.stdout | |
parent | e7a0f5b66ced8d56d770375e4d35d38c70067559 (diff) | |
download | haskell-b47521991a7574f4f3554f7c5444a8c60cfe9efd.tar.gz |
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
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci023.stdout')
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci023.stdout | 2 |
1 files changed, 1 insertions, 1 deletions
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 |