generated from tpl/purs
fix: more tuplecontaining fixes
This commit is contained in:
parent
20ab53459b
commit
e7fecc01ed
@ -17,6 +17,10 @@ else instance TupleContaining a (a /\ b) where
|
|||||||
extract = fst
|
extract = fst
|
||||||
else instance TupleContaining b (a /\ b) where
|
else instance TupleContaining b (a /\ b) where
|
||||||
extract = snd
|
extract = snd
|
||||||
|
else instance TupleContaining b (a /\ b /\ c) where
|
||||||
|
extract (_ /\ b /\ _) = b
|
||||||
|
else instance TupleContaining c (a /\ b /\ c) where
|
||||||
|
extract (_ /\ _ /\ c) = c
|
||||||
else instance TupleContaining b (a /\ b /\ Unit) where
|
else instance TupleContaining b (a /\ b /\ Unit) where
|
||||||
extract (_ /\ b /\ _) = b
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user