summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/ind2.hs
blob: de5d9d6a86cd807a629777f97c0989b3cebecb35 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TypeFamilies #-}

module ShouldCompile where

import Ind2_help(C(..))

zipT :: (C a, C b) => T a -> T b -> T (a,b)
zipT x y = mkT (unT x, unT y)