summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/HigherRank2.hs
blob: b1c6516f9ac322b1631c3f424836c17d03f6a144 (plain)
1
2
3
4
5
{-# LANGUAGE PartialTypeSignatures, RankNTypes #-}
module HigherRank2 where

foo :: (forall a. [a] -> [a]) -> (_, _ _)
foo x = (x [True, False], x ['a', 'b'])