= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
package travesty
-
travesty
-
-
travesty.containers
-
-
travesty.core_kernel_exts
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Basic_generic
describes bi-mapping on any arity of type.
- For arity-0 types, use S0:
('l, 'r) t
becomest
,'l left
becomesleft
, and'r right
becomesright
. - For arity-1 types with a fixed right type, use S1_left:
('l, 'r) t
becomes'l t
,'l left
becomes'l
, and'r right
becomesright
. - For arity-1 types with a fixed left type, use S1_right:
('l, 'r) t
becomes'l t
,'l left
becomesleft
, and'r right
becomes'r
. - For arity-2 types, use S2:
('l, 'r) t
becomes('l, 'r) t
,'l left
becomes'l
, and'r right
becomes'r
.