package batteries
A community-maintained standard library extension
Install
dune-project
Dependency
Authors
Maintainers
Sources
v3.7.1.tar.gz
md5=d02c4f044e53edca010de46f9139ce00
sha512=99a5afa3604c4cf0c849c670111d617f7f255acb0da043b73ddffdf0e299948bce52516ee31921f269de6088156c4e0a187e0b931543c6819c6b25966b303281
doc/batteries.unthreaded/BatTuple/Tuple3/index.html
Module BatTuple.Tuple3
Source
Triples.
Like map
but specialized for tuples with elements of the same type.
mapn f
is equivalent to map f f f
.
Source
val print :
?first:string ->
?sep:string ->
?last:string ->
('o BatIO.output -> 'a -> unit) ->
('o BatIO.output -> 'b -> unit) ->
('o BatIO.output -> 'c -> unit) ->
'o BatIO.output ->
('a * 'b * 'c) ->
unit
Source
val printn :
?first:string ->
?sep:string ->
?last:string ->
('o BatIO.output -> 'a -> unit) ->
'o BatIO.output ->
('a * 'a * 'a) ->
unit
Source
val compare :
?cmp1:('a -> 'a -> int) ->
?cmp2:('b -> 'b -> int) ->
?cmp3:('c -> 'c -> int) ->
('a * 'b * 'c) ->
('a * 'b * 'c) ->
int
include BatEnum.Enumerable with type 'a enumerable = 'a * 'a * 'a
The data structure, e.g. 'a List.t
Return an enumeration of the elements of the data structure
Build a data structure from an enumeration
Source
module Ord
(T1 : BatOrd.Ord)
(T2 : BatOrd.Ord)
(T3 : BatOrd.Ord) :
BatOrd.Ord with type t = T1.t * T2.t * T3.t
Source
module Comp
(T1 : BatOrd.Comp)
(T2 : BatOrd.Comp)
(T3 : BatOrd.Comp) :
BatOrd.Comp with type t = T1.t * T2.t * T3.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>