summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/break006.script
blob: 7381490f6988f3b70b14d01178c9c35307ac5365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
:l ../Test3.hs
:st mymap (+1) [1,2,3]
:st
: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