package batteries
A community-maintained standard library extension
Install
Dune Dependency
Authors
Maintainers
Sources
v3.9.0.tar.gz
md5=ea26b5c72e6731e59d856626049cca4d
sha512=55975b62c26f6db77433a3ac31f97af609fc6789bb62ac38b267249c78fd44ff37fe81901f1cf560857b9493a6046dd37b0d1c0234c66bd59e52843aac3ce6cb
doc/batteries.unthreaded/BatTuple/Tuple5/index.html
Module BatTuple.Tuple5
Source
5-Tuples.
Source
val map :
('a -> 'f) ->
('b -> 'g) ->
('c -> 'h) ->
('d -> 'i) ->
('e -> 'j) ->
('a * 'b * 'c * 'd * 'e) ->
'f * 'g * 'h * 'i * 'j
Like map
but specialized for tuples with elements of the same type.
mapn f
is equivalent to map f f 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 -> 'd -> unit) ->
('o BatIO.output -> 'e -> unit) ->
'o BatIO.output ->
('a * 'b * 'c * 'd * 'e) ->
unit
Source
val printn :
?first:string ->
?sep:string ->
?last:string ->
('o BatIO.output -> 'a -> unit) ->
'o BatIO.output ->
('a * 'a * 'a * 'a * 'a) ->
unit
Source
val compare :
?cmp1:('a -> 'a -> int) ->
?cmp2:('b -> 'b -> int) ->
?cmp3:('c -> 'c -> int) ->
?cmp4:('d -> 'd -> int) ->
?cmp5:('e -> 'e -> int) ->
('a * 'b * 'c * 'd * 'e) ->
('a * 'b * 'c * 'd * 'e) ->
int
include BatEnum.Enumerable with type 'a enumerable = 'a * 'a * '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
val ord :
'a BatOrd.ord ->
'b BatOrd.ord ->
'c BatOrd.ord ->
'd BatOrd.ord ->
'e BatOrd.ord ->
('a * 'b * 'c * 'd * 'e) BatOrd.ord
Source
val comp :
'a BatOrd.comp ->
'b BatOrd.comp ->
'c BatOrd.comp ->
'd BatOrd.comp ->
'e BatOrd.comp ->
('a * 'b * 'c * 'd * 'e) BatOrd.comp
Source
module Ord
(T1 : BatOrd.Ord)
(T2 : BatOrd.Ord)
(T3 : BatOrd.Ord)
(T4 : BatOrd.Ord)
(T5 : BatOrd.Ord) :
BatOrd.Ord with type t = T1.t * T2.t * T3.t * T4.t * T5.t
Source
module Comp
(T1 : BatOrd.Comp)
(T2 : BatOrd.Comp)
(T3 : BatOrd.Comp)
(T4 : BatOrd.Comp)
(T5 : BatOrd.Comp) :
BatOrd.Comp with type t = T1.t * T2.t * T3.t * T4.t * T5.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>