summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadtSyntax002.hs
blob: 46ccfb320c2a5f0ce60380504686fce5e504a169 (plain)
1
2
3
4
5
6
{-# LANGUAGE GADTSyntax #-}

module GADTSyntax002 where

newtype Down a where
  Down :: { getDown :: a } -> Down a