Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e6a693f0
Commit
e6a693f0
authored
Jul 11, 2005
by
simonpj
Browse files
[project @ 2005-07-11 10:45:34 by simonpj]
update output
parent
2ca6ec78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail140.stderr
.../tests/ghc-regress/typecheck/should_fail/tcfail140.stderr
+26
-1
No files found.
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail140.stderr
View file @
e6a693f0
tcfail140.hs:10:6:
The function `f' is applied to two arguments,
but its type `Int -> Int' has only one
In the definition of `bar': bar = f 3 9
tcfail140.hs:12:9:
The infix expression `3 `f` 4' requires `f' to take two arguments,
but its type `Int -> Int' has only one
In the definition of `rot': rot xs = 3 `f` 4
tcfail140.hs:14:13:
The operator section `(3 `f`)' requires `f' to take two arguments,
but its type `Int -> Int' has only one
In the first argument of `map', namely `(3 `f`)'
In the definition of `bot': bot xs = map ((3 `f`)) xs
tcfail140.hs:16:6:
The lambda expression `\ Just x -> ...' has two argumentss,
but its type `Maybe a -> a' has only one
In the expression: (\ Just x -> x) :: Maybe a -> a
In the definition of `t': t = ((\ Just x -> x) :: Maybe a -> a) (Just 1)
tcfail140.hs:19:0:
The equation(s) for `g' have two arguments,
but its type `Int -> Int' has only one
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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