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.16.0.tar.gz
sha256=83540d2cdd3eeb7f57ec870ff4ac9070f59781824245133af7f59ba2a0b730d8

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.