package base

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

Module Base_internalhash_typesSource

Sourcetype state = private int

state is defined as a subtype of int using the private keyword. This makes it an opaque type for most purposes, and tells the compiler that the type is immediate.

Sourcetype seed = int
Sourcetype hash_value = int
Sourceval create_seeded : seed -> state
Sourceval fold_int64 : state -> int64 -> state
Sourceval fold_int : state -> int -> state
Sourceval fold_float : state -> float -> state
Sourceval fold_string : state -> string -> state
Sourceval get_hash_value : state -> hash_value
OCaml

Innovation. Community. Security.