package core

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

Source file deriving_hash_intf.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
open! Import

module type S = sig
  type t [@@deriving hash]
end

module type Deriving_hash = sig
  module Of_deriving_hash
    (Repr : S) (M : sig
      type t

      val to_repr : t -> Repr.t
    end) : S with type t := M.t
end
OCaml

Innovation. Community. Security.