Fix GHC 7.8 and 7.10 compatibility again

This commit is contained in:
Tomas Janousek 2017-01-28 15:11:37 +01:00
parent bf588dcd06
commit dd943e6ae0

View File

@ -43,10 +43,10 @@ type family EQU (a :: k) (b :: k) :: Bool where
EQU a b = 'False
type family Head (xs :: [x]) :: x where
Head (x ': _) = x
Head (x ': xs) = x
type family Tail (xs :: [x]) :: [x] where
Tail (_ ': xs) = xs
Tail (x ': xs) = xs
--------------------------------------------------------------------------------
-- Interface --