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