Commit 7773a6b0 authored by Simon Marlow's avatar Simon Marlow
Browse files

add missing files

parent 7206a1b5
<interactive>:1:0:
Ambiguous type variable `t' in the constraint:
`Show t' arising from a use of `print' at <interactive>:1:0
Cannot resolve unknown runtime types: t
Use :print or :force to determine these types
<interactive>:1:0:
No instance for (Show (t -> a))
arising from a use of `print' at <interactive>:1:0
Possible fix: add an instance declaration for (Show (t -> a))
In the expression: print it
In a 'do' expression: print it
Breakpoint 0 activated at ../Test3.hs:2:17-30
Stopped at ../Test3.hs:2:17-30
_result :: [a]
x :: t
f :: t -> a
xs :: [t]
:l ../Test6.hs
:b 5
main
-- stopped now
:l ../Test6.hs
main
-- should not break
Breakpoint 0 activated at ../Test6.hs:5:7-10
Stopped at ../Test6.hs:5:7-10
_result :: a
*** Exception: Prelude.head: empty list
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment