package ppx_deriving_hardcaml

  1. Overview
  2. Docs
Rewrite OCaml records for use as Hardcaml Interfaces

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_hardcaml-v0.14.0.tar.gz
sha256=9d9779d4c187100292e29c573ffa2f7c5882ae9ff78c4b172ea6ab2aecb5510b
md5=4a5506ce911a12c9666b53a9d8168357

doc/src/ppx_deriving_hardcaml.runtime/ppx_deriving_hardcaml_runtime.ml.html

Source file ppx_deriving_hardcaml_runtime.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
open Base

module Array = struct
  include Array

  let for_ length ~f =
    for i = 0 to length - 1 do
      f i
    done;
  ;;
end
module Int       = Int
module Interface = Hardcaml.Interface
module List      = List

let concat = String.concat
OCaml

Innovation. Community. Security.