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

barry :: _a -> (_b _a, _b _)
barry x = (Left "x", Right x)