Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type family Tuple2RTuple a Source
Tuple2RTuple () = () | |
Tuple2RTuple (t1, t2) = (t1, (t2, ())) | |
Tuple2RTuple (t1, t2, t3) = (t1, (t2, (t3, ()))) | |
Tuple2RTuple (t1, t2, t3, t4) = (t1, (t2, (t3, (t4, ())))) | |
Tuple2RTuple (t1, t2, t3, t4, t5) = (t1, (t2, (t3, (t4, (t5, ()))))) | |
Tuple2RTuple (t1, t2, t3, t4, t5, t6) = (t1, (t2, (t3, (t4, (t5, (t6, ())))))) | |
Tuple2RTuple (t1, t2, t3, t4, t5, t6, t7) = (t1, (t2, (t3, (t4, (t5, (t6, (t7, ()))))))) | |
Tuple2RTuple (t1, t2, t3, t4, t5, t6, t7, t8) = (t1, (t2, (t3, (t4, (t5, (t6, (t7, (t8, ())))))))) | |
Tuple2RTuple (t1, t2, t3, t4, t5, t6, t7, t8, t9) = (t1, (t2, (t3, (t4, (t5, (t6, (t7, (t8, (t9, ()))))))))) | |
Tuple2RTuple (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) = (t1, (t2, (t3, (t4, (t5, (t6, (t7, (t8, (t9, (t10, ())))))))))) | |
Tuple2RTuple t = (t, ()) |
type family RTuple2Tuple a Source
RTuple2Tuple () = () | |
RTuple2Tuple (t1, (t2, ())) = (t1, t2) | |
RTuple2Tuple (t1, (t2, (t3, ()))) = (t1, t2, t3) | |
RTuple2Tuple (t1, (t2, (t3, (t4, ())))) = (t1, t2, t3, t4) | |
RTuple2Tuple (t1, (t2, (t3, (t4, (t5, ()))))) = (t1, t2, t3, t4, t5) | |
RTuple2Tuple (t1, (t2, (t3, (t4, (t5, (t6, ())))))) = (t1, t2, t3, t4, t5, t6) | |
RTuple2Tuple (t1, (t2, (t3, (t4, (t5, (t6, (t7, ()))))))) = (t1, t2, t3, t4, t5, t6, t7) | |
RTuple2Tuple (t1, (t2, (t3, (t4, (t5, (t6, (t7, (t8, ())))))))) = (t1, t2, t3, t4, t5, t6, t7, t8) | |
RTuple2Tuple (t1, (t2, (t3, (t4, (t5, (t6, (t7, (t8, (t9, ()))))))))) = (t1, t2, t3, t4, t5, t6, t7, t8, t9) | |
RTuple2Tuple (t1, (t2, (t3, (t4, (t5, (t6, (t7, (t8, (t9, (t10, ())))))))))) = (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) | |
RTuple2Tuple (t, ()) = t |
class MapRTuple2 f tup tup' | f tup -> tup' where Source
MapRTuple2 f () () | |
MapRTuple2 (a -> b) as bs => MapRTuple2 (a -> b) (a, as) (b, bs) |