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/Option/index.html

Module Utils.OptionSource

Several functions operating on values of type 'a option

Sourceval map : ('a -> 'b) -> 'a option -> 'b option

apply f v is Some (f x) if v is Some x, None if v is None

Sourceval iter : ('a -> unit) -> 'a option -> unit

iter f x applies f to v if x is Some v, does nothing if x is None

Sourceval to_string : ('a -> string) -> 'a option -> string

to_string f v is f x if v is Some x, "" if v is None

OCaml

Innovation. Community. Security.