Mon, 27 Jan 2025 11:39:05 UTC | login

Information for RPM ocaml-ppx-let-0.17.0-4.fc42.src.rpm

ID1489277
Nameocaml-ppx-let
Version0.17.0
Release4.fc42
Epoch
Archsrc
SummaryMonadic let-bindings for OCaml
DescriptionPpx_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 Time2025-01-12 13:28:27 GMT
Size32.03 KB
1b92d930ba50f38a8a5aecc91fc0d340
LicenseMIT
git:https://github.com/janestreet/ppx_let.git
Buildrootf42-build-865800-173520
Provides
ocaml-ppx-let = 0.17.0-4.fc42
ocaml-ppx-let-devel = 0.17.0-4.fc42
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
ocaml >= 5.1.0
ocaml-base-devel >= 0.17
ocaml-dune >= 3.11.0
ocaml-ppx-here-devel >= 0.17
ocaml-ppxlib-devel >= 0.28.0
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 2 of 2
Name ascending sort Size
ocaml-ppx-let.spec5.45 KB
ppx_let-0.17.0.tar.gz15.34 KB
Component of No Buildroots