summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T2766.script
blob: 9d86258f02e3c4ea2a2b337d73be2086cec3d015 (plain)
1
2
3
4
5
6
-- Test #2766
:set -XTypeOperators
:m Control.Arrow
:t first :: Arrow to => b `to` c -> (b, d) `to` (c, d)
type a ~> b = a -> b
:t first :: b~>c -> (b, d)~>(c, d)