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

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