summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T8959.script
blob: da60aeb44e7329df26dd4fcb37d551a8bd1e3f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
:set -XPatternGuards -XArrows -XRankNTypes

:t lookup
:t undefined :: (forall a. a -> a) -> a
:t () >- () -< () >>- () -<< ()
let fun foo | True <- () = ()

:set -fprint-unicode-syntax

:t lookup
:t undefined :: (forall a. a -> a) -> a
:t () >- () -< () >>- () -<< ()
let fun foo | True <- () = ()

:set -fno-print-unicode-syntax

:t lookup
:t undefined :: (forall a. a -> a) -> a
:t () >- () -< () >>- () -<< ()
let fun foo | True <- () = ()