summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T8959.script
blob: 124b2ab2f558eb5cccb3be4e02368d51c1819969 (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 -XUnicodeSyntax

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

:set -XNoUnicodeSyntax

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