package lascar

  1. Overview
  2. Docs
A library for manipulating Labeled Transition Systems in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

lascar-0.6.0.tbz
sha256=343190b9c765655e787758db86a82818404dda18b4d2806283b4bde3ced91d26
sha512=2b6534ac438d574228d127b3b4e2cfec17b8b95e95124297c8da351caf34de2bb4ec8a31028a1470ba7f42aa932257293d021140a5a1c2642d1a60a8123d00a0

doc/lascar.utils/Utils/Misc/index.html

Module Utils.MiscSource

Several useful types and functions

Sourcetype ('a, 'b) either =
  1. | Fst of 'a
  2. | Snd of 'b
  3. | Both of 'a * 'b
Sourceval log2 : int -> int
Sourceval time_of_day : unit -> string
Sourceval max : 'a -> 'a -> 'a
Sourceval min : 'a -> 'a -> 'a
Sourceval iter_fix : ('a -> 'a -> bool) -> ('a -> 'a) -> 'a -> 'a

iter_fix eq f x iterates f, starting with x, until idempotence, i.e. computes f (f (f ... f(x)...)) until the condition f(x)=x is met. Equality test is performed with the eq argument

Sourceval append_file : string -> string -> unit

append_file f s appends s to file f

OCaml

Innovation. Community. Security.