summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/break006.script
blob: 1d611a423243a98de4bc92497d2e08e606dae2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
:l Test3.hs
:st mymap (+1) [1::Int,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 Int now
f x
-- should work now