blob: 9296c90163c174eebbd42891198cb33fcd5af43b (
plain)
1
2
3
4
5
6
7
8
9
10
|
:l print029.hs
let a = MkT2 (map Just [(1::Int)])
:break f
seq a ()
f a
:step
-- Unsound! A false type is assigned to x
-- reconstructType is forced to stop too soon
-- because the elements of the list in x are not evaluated yet
:q
|