RWO really needs a refresh (for which I have plans brewing...)
With the arrival of PPX, Core and friends no longer use the old
camlp4-based syntax extensions. If you install the new PPX versions
(which are installed by opam when you install Core), you can use the
now-standardized "deriving syntax", e.g.:
type r = { foo:int; bar: float} [@@deriving fields]
to get the same effect you would have gotten with:
type r = { foo:int; bar: float} with fields
in the old world.
y
> --
> You received this message because you are subscribed to the Google Groups
> "ocaml-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
ocaml-core+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.