mirror of
https://github.com/ilyakooo0/tuple-morph.git
synced 2024-10-03 20:57:45 +03:00
Make (++) poly kinded.
This commit is contained in:
parent
ca5e0a9a00
commit
157aac0b38
@ -111,7 +111,7 @@ class HUnfoldable t where
|
||||
hListParser :: HParser (Rep t) t
|
||||
|
||||
|
||||
type family (++) (a :: [*]) (b :: [*]) :: [*] where
|
||||
type family (++) (a :: [k]) (b :: [k]) :: [k] where
|
||||
'[] ++ b = b
|
||||
(a ': as) ++ b = a ': (as ++ b)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user