package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-libs.stdlib/Tezos_stdlib/Compare/List_length_with/index.html

Module Compare.List_length_withSource

Sourceval (=) : 'a list -> int -> bool

Compare.List_length_with.(l = n) iff l is of length n. In other words iff Stdlib.List.compare_length_with l n = 0. Note that, like compare_length_with, this comparison does not explore the list l beyond its n-th element.

Sourceval (<>) : 'a list -> int -> bool

Compare.List_length_with.(l <> n) iff l is not of length n. In other words iff Stdlib.List.compare_length_with l n <> 0. Note that, like compare_length_with, this comparison does not explore the list l beyond its n-th element.

Sourceval (<) : 'a list -> int -> bool

Compare.List_length_with.(l < n) iff l is of length strictly less than n. In other words iff Stdlib.List.compare_length_with l n < 0. Note that, like compare_length_with, this comparison does not explore the list l beyond its n-th element.

Sourceval (<=) : 'a list -> int -> bool

Compare.List_length_with.(l <= n) iff l is of length less than n. In other words iff Stdlib.List.compare_length_with l n <= 0. Note that, like compare_length_with, this comparison does not explore the list l beyond its n-th element.

Sourceval (>=) : 'a list -> int -> bool

Compare.List_length_with.(l >= n) iff l is of length greater than n. In other words iff Stdlib.List.compare_length_with l n >= 0. Note that, like compare_length_with, this comparison does not explore the list l beyond its n-th element.

Sourceval (>) : 'a list -> int -> bool

Compare.List_length_with.(l > n) iff l is of length strictly greater than n. In other words iff Stdlib.List.compare_length_with l n > 0. Note that, like compare_length_with, this comparison does not explore the list l beyond its n-th element.

Sourceval compare : 'a list -> int -> int

Compare.List_length_with.compare is an alias for Stdlib.List.compare_length_with.

Sourceval equal : 'a list -> int -> bool

Compare.List_length_with.equal is an alias for Compare.List_length_with.( = ).

OCaml

Innovation. Community. Security.