package ppx_make
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=98ac1871b2b18f37bca7abb5c391594e
sha512=deaae2097086b42822a2f2b929abe074c84397f6a87f36706043cae1917aee985ce91dc933833e8ddb51302bea6d929f65c8d95b8a1721a942a9398f3a6ee01f
Description
Ppxlib based [@@deriving] plugin to generate make functions
Added to opam-repository:
README
[@@deriving make]
ppxlib based make deriver
Installation
ppx_make can be installed via OCaml Package Manager.
$ opam install ppx_makeUsage
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
Optional Dependencies
None
Used by (4)
- opine
- ppx_pyformat
-
ppx_subliner
>= "0.2.0" - pyre-ast
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.
- 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