package lascar

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

Install

Dune Dependency

Authors

Maintainers

Sources

lascar-0.6-alpha.tbz
sha256=e33fd94f167bd7bc69f30d7a550226126692a00dac9b29c28ff0ff0aca7d7a21
sha512=98fe84ea351a288d371490f002c52c2e3637841f7fafadb1c3a1acb82befc436bbc6321b1c37fb1e2121b595e7fcb33da45510f3b623006a1d1b56d905313058

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.