Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
927fe3b4
Commit
927fe3b4
authored
Oct 19, 2007
by
Simon Marlow
Browse files
add test for #1468
parent
193348e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/ghci/scripts/all.T
View file @
927fe3b4
...
...
@@ -30,3 +30,5 @@ test('ghci019', normal, ghci_script, ['ghci019.script'])
test
('
ghci020
',
normal
,
ghci_script
,
['
ghci020.script
'])
test
('
ghci021
',
normal
,
ghci_script
,
['
ghci021.script
'])
test
('
ghci022
',
normal
,
ghci_script
,
['
ghci022.script
'])
test
('
ghci026
',
normal
,
ghci_script
,
['
ghci026.script
'])
testsuite/tests/ghc-regress/ghci/scripts/ghci026.script
0 → 100644
View file @
927fe3b4
import Data.Maybe
:browse
:l ../prog002/A1.hs
:browse
:add ../prog002/B.hs
:browse
testsuite/tests/ghc-regress/ghci/scripts/ghci026.stdout
0 → 100644
View file @
927fe3b4
data Maybe a = Nothing | Just a
maybe :: b -> (a -> b) -> Maybe a -> b
isJust :: Maybe a -> Bool
isNothing :: Maybe a -> Bool
fromJust :: Maybe a -> a
fromMaybe :: a -> Maybe a -> a
maybeToList :: Maybe a -> [a]
listToMaybe :: [a] -> Maybe a
catMaybes :: [Maybe a] -> [a]
mapMaybe :: (a -> Maybe b) -> [a] -> [b]
data T = A Int | B Float
f :: Double -> Double
f :: Double -> Double
g :: Double -> Double
h :: (Integral a) => a -> a
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment