package mopsa

  1. Overview
  2. Docs
MOPSA: A Modular and Open Platform for Static Analysis using Abstract Interpretation

Install

Dune Dependency

Authors

Maintainers

Sources

mopsa-analyzer-v1.1.tar.gz
md5=fdee20e988343751de440b4f6b67c0f4
sha512=f5cbf1328785d3f5ce40155dada2d95e5de5cce4f084ea30cfb04d1ab10cc9403a26cfb3fa55d0f9da72244482130fdb89c286a9aed0d640bba46b7c00e09500

doc/utils_core/Utils_core/Compare/index.html

Module Utils_core.CompareSource

Lift comparison to composed data-structure (pairs, lists, etc.).

Sourceval compose : (unit -> int) list -> int

compose cl applies a list of comparison functions cl in sequence and stops when encountering the first non-zero result.

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

list p lifts the 'a compare function p to 'a list

Sourceval pair : ('a -> 'a -> int) -> ('b -> 'b -> int) -> ('a * 'b) -> ('a * 'b) -> int

pair p lifts the 'a compare function p, 'b compare function q to 'a * 'b

Sourceval triple : ('a -> 'a -> int) -> ('b -> 'b -> int) -> ('c -> 'c -> int) -> ('a * 'b * 'c) -> ('a * 'b * 'c) -> int

triple p lifts the 'a compare function p, 'b compare function q, 'c compare function r to 'a * 'b * 'c

Sourceval quadruple : ('a -> 'a -> int) -> ('b -> 'b -> int) -> ('c -> 'c -> int) -> ('d -> 'd -> int) -> ('a * 'b * 'c * 'd) -> ('a * 'b * 'c * 'd) -> int
Sourceval option : ('a -> 'a -> int) -> 'a option -> 'a option -> int

option p lifts p: 'a -> 'a -> int to 'a option -> 'a option -> int

OCaml

Innovation. Community. Security.