Commit 826d6c91 authored by Simon Marlow's avatar Simon Marlow
Browse files

accept output

parent f4211a0e
......@@ -2,11 +2,11 @@
<interactive>:1:0:
Ambiguous type variable `a' in the constraint:
`Show a' arising from a use of `print' at <interactive>:1:0-2
Cannot resolve unkonwn runtime types: a
Cannot resolve unknown runtime types: a
Use :print or :force to determine these types
<interactive>:1:0:
Ambiguous type variable `a' in the constraint:
`Show a' arising from a use of `print' at <interactive>:1:0
Cannot resolve unkonwn runtime types: a
Cannot resolve unknown runtime types: a
Use :print or :force to determine these types
Breakpoint 0 activated at ../Test3.hs:1:13-14
[2,3Stopped at ../Test3.hs:1:13-14
_result :: [a]
../Test3.hs:(1,0)-(2,30)
../Test3.hs:2:21-30
../Test3.hs:2:17-19
../Test3.hs:2:17-30
../Test3.hs:(1,0)-(2,30)
../Test3.hs:2:21-30
../Test3.hs:2:17-19
../Test3.hs:2:17-30
../Test3.hs:(1,0)-(2,30)
-1 : ../Test3.hs:(1,0)-(2,30)
-2 : ../Test3.hs:2:21-30
-3 : ../Test3.hs:2:17-19
-4 : ../Test3.hs:2:17-30
-5 : ../Test3.hs:(1,0)-(2,30)
-6 : ../Test3.hs:2:21-30
-7 : ../Test3.hs:2:17-19
-8 : ../Test3.hs:2:17-30
-9 : ../Test3.hs:(1,0)-(2,30)
<end of history>
Logged breakpoint at ../Test3.hs:(1,0)-(2,30)
_result :: [a]
_result :: [a]
......
......@@ -2,5 +2,5 @@
<interactive>:1:0:
Ambiguous type variable `t1' in the constraint:
`Show t1' arising from a use of `print' at <interactive>:1:0-2
Cannot resolve unkonwn runtime types: t1
Cannot resolve unknown runtime types: t1
Use :print or :force to determine these types
:set -fno-warn-overlapping-patterns
:l ../HappyTest.hs
:break lexer
main
......
Breakpoint 0 activated at ../HappyTest.hs:(229,0)-(240,34)
Stopped at ../HappyTest.hs:(229,0)-(240,34)
_result :: [Token]
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
*** Ignoring breakpoint
_result = [TokenInt 1,TokenPlus,TokenInt 2,TokenPlus,TokenInt 3]
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