mirror of
https://github.com/lexi-lambda/freer-simple.git
synced 2024-12-24 14:43:57 +03:00
Fix GHC 7.8 and 7.10 compatibility again
This commit is contained in:
parent
bf588dcd06
commit
dd943e6ae0
@ -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 --
|
||||
|
Loading…
Reference in New Issue
Block a user