summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print017.script
blob: 7a8371a2c1ab30c3c6e3db1fff09c10297d1c05f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- More newtypes goodness

:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
:l ../Test
let a = map (MkT2 . MkT) [1..2]
:p a
seq _t1 ()
:p a
seq _t2 ()
:p a
seq _t4 ()
:p a