summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/break006.script
blob: 6cbc050742456a5aab6e05092e4cdacc4337a3f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
:l ../Test3.hs
:st mymap (+1) [1::Integer,2,3]
:show bindings
f x -- should fail, unknown return type
let y = f x
y
:p y
:force y
:show bindings
-- we know the result is Integer now
f x
-- should work now