generated from tpl/purs
fix: more tuplecontaining fixes
This commit is contained in:
parent
e7fecc01ed
commit
3f51f47d0c
@ -19,10 +19,8 @@ else instance TupleContaining b (a /\ b) where
|
|||||||
extract = snd
|
extract = snd
|
||||||
else instance TupleContaining b (a /\ b /\ c) where
|
else instance TupleContaining b (a /\ b /\ c) where
|
||||||
extract (_ /\ b /\ _) = b
|
extract (_ /\ b /\ _) = b
|
||||||
else instance TupleContaining c (a /\ b /\ c) where
|
else instance TupleContaining c (a /\ b /\ c /\ Unit) where
|
||||||
extract (_ /\ _ /\ c) = c
|
extract (_ /\ _ /\ c /\ _) = c
|
||||||
else instance TupleContaining b (a /\ b /\ Unit) where
|
|
||||||
extract (_ /\ b /\ _) = b
|
|
||||||
else instance TupleContaining a tail => TupleContaining a (Tuple head tail) where
|
else instance TupleContaining a tail => TupleContaining a (Tuple head tail) where
|
||||||
extract (_ /\ tail) = extract tail
|
extract (_ /\ tail) = extract tail
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user