diff options
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print004.script')
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/print004.script | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print004.script b/testsuite/tests/ghci.debugger/scripts/print004.script new file mode 100644 index 0000000000..78039d8e0f --- /dev/null +++ b/testsuite/tests/ghci.debugger/scripts/print004.script @@ -0,0 +1,28 @@ +-- simple :print tests + +let a = False +:sp a +:p a + +let b = map Just [1::Integer .. 4] +:p b +head b +:p b +length b +:p b +:sp b +b +:p b + +-- Force loading of a external package and keep pushing +:m +Language.Haskell.TH +let c = ListT +:p c +let d = map TupleT [1..4] +:p d +head d +:p d +length d +:p d +d +:p d |