Information for RPM ocaml-ppx-let-0.17.0-3.fc41.src.rpm
ID | 1422486 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Name | ocaml-ppx-let | ||||||||
Version | 0.17.0 | ||||||||
Release | 3.fc41 | ||||||||
Epoch | |||||||||
Arch | src | ||||||||
Summary | Monadic let-bindings for OCaml | ||||||||
Description | Ppx_let is a ppx rewriter for monadic and applicative let bindings, match expressions, and if expressions. The aim of this rewriter is to make monadic and applicative code look nicer by writing custom binders the same way that we normally bind variables. In OCaml, the common way to bind the result of a computation to a variable is: let VAR = EXPR in BODY ppx_let simply adds two new binders: let%bind and let%map. These are rewritten into calls to the bind and map functions respectively. These functions are expected to have val map : 'a t -> f:('a -> 'b) -> 'b t val bind : 'a t -> f:('a -> 'b t) -> 'b t for some type t, as one might expect. These functions are to be provided by the user, and are generally expected to be part of the signatures of monads and applicatives modules. This is the case for all monads and applicatives defined by the Jane Street's Core suite of libraries. | ||||||||
Build Time | 2024-08-10 23:32:12 GMT | ||||||||
Size | 31.98 KB | ||||||||
4bc1b6f176e6c7012e977c468d5f1b94 | |||||||||
License | MIT | ||||||||
git:https://github.com/janestreet/ppx_let.git | |||||||||
Buildroot | f41-build-837167-158974 | ||||||||
Provides |
|
||||||||
Obsoletes | No Obsoletes | ||||||||
Conflicts | No Conflicts | ||||||||
Requires |
|
||||||||
Recommends | No Recommends | ||||||||
Suggests | No Suggests | ||||||||
Supplements | No Supplements | ||||||||
Enhances | No Enhances | ||||||||
Files |
|
||||||||
Component of | No Buildroots |