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

module Simple18 where

type family F a

type instance F Int = [Int]

foo :: F Int
foo = [1]