blob: a3bf1021af3d869d76322e552cb0bcddee826f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
:l Test
let a = O (id 'a')
let b = O (id "abc")
:p a
:p b
seq _t1 ()
:p _t1
:show bindings
_t2
-- _t2 cannot be printed, its type is still unknown
|