To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
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
2-tuple extensions for Core_kernel
.
This just re-exports Travesty_base_exts.Tuple2, but may contain Core_kernel
-specific extensions in future.
include module type of Travesty_base_exts.Tuple2
Pairs are trivially bi-mappable; the left type is fst
, and the right type is snd
. For example:
bi_map ("foo", 27) ~left:String.capitalize ~right:Int.neg
(* returns: ("Foo", -27) *)
include Travesty.Bi_mappable.S2 with type ('l, 'r) t := ('l, 'r) t
include Travesty.Bi_mappable.Generic
with type ('l, 'r) t := ('l, 'r) t
and type 'l left := 'l
and type 'r right := 'r
include Travesty.Bi_mappable.Basic_generic
with type ('l, 'r) t := ('l, 'r) t
with type 'l left := 'l
with type 'r right := 'r
include Travesty.Types_intf.Bi_generic
with type ('l, 'r) t := ('l, 'r) t
with type 'l left := 'l
with type 'r right := 'r
map_left c ~f
maps f
over the left type of c
only.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>