package rfsm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val pow2 : int -> int

pow2 n is 2^n. Not tail recursive. Raises Invalid_argument if n<0

val neg : ('a -> bool) -> 'a -> bool

neg f x is not (f x)

val swap : ('a * 'b) -> 'b * 'a

swap (x,y) is (y,x)

val clone : 't -> 't

clone v returns a deep copy of value v

OCaml

Innovation. Community. Security.