package octez-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/octez-libs.stdlib/Tezos_stdlib/Compare/List_lengths/index.html
Module Compare.List_lengths
Source
Compare.List_lengths.(xs = ys)
iff xs
and ys
have the same length. In other words, iff Stdlib.List.compare_lengths xs ys = 0
. Note that, like compare_lengths
, this comparison only explores the lists up to the length of the shortest one.
Compare.List_lengths.(xs <> ys)
iff xs
and ys
have different lengths. In other words, iff Stdlib.List.compare_lengths xs ys <> 0
. Note that, like compare_lengths
, this comparison only explores the lists up to the length of the shortest one.
Compare.List_lengths.(xs < ys)
iff xs
is strictly shorter than ys
. In other words, iff Stdlib.List.compare_lengths xs ys < 0
. Note that, like compare_lengths
, this comparison only explores the lists up to the length of the shortest one.
Compare.List_lengths.(xs <= ys)
iff xs
is shorter than ys
. In other words, iff Stdlib.List.compare_lengths xs ys <= 0
. Note that, like compare_lengths
, this comparison only explores the lists up to the length of the shortest one.
Compare.List_lengths.(xs >= ys)
iff xs
is longer than ys
. In other words, iff Stdlib.List.compare_lengths xs ys >= 0
. Note that, like compare_lengths
, this comparison only explores the lists up to the length of the shortest one.
Compare.List_lengths.(xs > ys)
iff xs
is strictly longer than ys
. In other words, iff Stdlib.List.compare_lengths xs ys > 0
. Note that, like compare_lengths
, this comparison only explores the lists up to the length of the shortest one.
Compare.List_lengths.compare
is an alias for Stdlib.List.compare_lengths
.
Compare.List_lengths.equal
is an alias for Compare.List_lengths.( = )
.