package bitmasks

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Underlying storage type and operations on the storage type. Default implementations are provided in Int and Int64.

type storage

The storage type.

val zero : storage

The value for 0.

val one : storage

The value for 1.

val logand : storage -> storage -> storage

The land operator.

val logor : storage -> storage -> storage

The lor operator.

val lognot : storage -> storage

The lnot operator.

val shift_left : storage -> int -> storage

The lsl operator.

val shift_right_logical : storage -> int -> storage

The lsr operator.

val compare : storage -> storage -> int

The compare operator.

val toString : storage -> string

Conversion to string for the storage type.

OCaml

Innovation. Community. Security.