summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T2766.script
blob: 84b83461b7bd686049851c312d9cd1b42e986790 (plain)
1
2
3
4
5
6
-- Test Trac #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)