package feat-core
Facilities for enumerating and sampling algebraic data types
Install
Dune Dependency
Authors
Maintainers
Sources
archive.tar.gz
md5=f8548ba0792a07d2b72c7894d1089d5e
sha512=6c53ad4f898c074b888018269fe2c00bf001fb5b22ceade1e7e26479fbe9ef55fe97d04a757b10232565a6af8f51d960b6f5f494552df4205aba046b075c513b
doc/src/feat-core/BigIntSig.ml.html
Source file BigIntSig.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
(******************************************************************************) (* *) (* Feat *) (* *) (* François Pottier, Inria Paris *) (* *) (* Copyright Inria. All rights reserved. This file is distributed under the *) (* terms of the MIT license, as described in the file LICENSE. *) (******************************************************************************) (**A signature for big numbers that is satisfied both by [Zarith] and by the older, slower but license-friendly [Num] package. This minimal signature is required by {!IFSeqSyn} and {!IFSeqObj}. *) module type BASIC = sig type t val zero : t val one : t val pred : t -> t val add : t -> t -> t val sub : t -> t -> t val mul : t -> t -> t val div_rem : t -> t -> t * t val equal : t -> t -> bool val lt : t -> t -> bool val of_int : int -> t exception Overflow val to_int : t -> int end (**An extended signature for big numbers, providing more functionality. This signature is required by {!RandomBigInt} and by the modules that depend on it, such as {!IFSeq}. *) module type EXTENDED = sig include BASIC val leq: t -> t -> bool val geq: t -> t -> bool val (/): t -> t -> t val ( * ): t -> t -> t val (mod): t -> t -> t val (lsl): t -> int -> t val (lor): t -> t -> t val to_string: t -> string end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>