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

module ShouldCompile where

type family F a 
type instance F [a] = [F a]

foo :: (F [a] ~ a) => a
foo = undefined