package mopsa

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mopsa-analyzer-v1.2.tar.gz
md5=37966e98ffeebcedc09bd6e9b2b81f69
sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa

doc/mopsa.mopsa_utils/Mopsa_utils/Core/Compare/index.html

Module Core.Compare

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

val 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.

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

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

val 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

val 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

val quadruple : ('a -> 'a -> int) -> ('b -> 'b -> int) -> ('c -> 'c -> int) -> ('d -> 'd -> int) -> ('a * 'b * 'c * 'd) -> ('a * 'b * 'c * 'd) -> int
val 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.