package ppx_make

Build not checked
  1. Overview
  2. Docs
[@@deriving make]

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.3.2.tar.gz
md5=98ac1871b2b18f37bca7abb5c391594e
sha512=deaae2097086b42822a2f2b929abe074c84397f6a87f36706043cae1917aee985ce91dc933833e8ddb51302bea6d929f65c8d95b8a1721a942a9398f3a6ee01f

Description

Ppxlib based [@@deriving] plugin to generate make functions

Added to opam-repository:

README

[@@deriving make]

OCaml CI GitHub release status

ppxlib based make deriver

Installation

ppx_make can be installed via OCaml Package Manager.

$ opam install ppx_make

Usage

Please see the documentation.

Example

type my_type = {
  my_field : int;
  my_option : int option;
  my_list : int list;
  my_string : string;
  my_default : int; [@default 1024]
}
[@@deriving make]

(* the deriver will automatically generate the function below *)
val make_my_type :
  my_field:int ->
  ?my_option:int ->
  ?my_list:int list ->
  ?my_string:string ->
  ?my_default:int ->
  unit ->
  my_type

Dependencies (2)

  1. ppxlib >= "0.10.0" & < "0.36.0"
  2. dune >= "2.7"

Dev Dependencies (2)

  1. odoc with-doc
  2. ounit2 with-test

Optional Dependencies

None

Conflicts

None

Build status

Results of building ppx_make with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.3.4 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure