Releases: pdonadeo/ocaml-lens
Releases · pdonadeo/ocaml-lens
Version 1.2.5
Version 1.2.4
This version is compatible with OCaml >= 4.10
Version 1.2.3
- Warning 23 suppressed in case of single label record. Closes #13
- Switch from jbuilder to dune
- Added setup for Travis CI
Version 1.2.2
Version 1.2.1
Build system changed from oasis/ocamlbuild to jbuilder.
Version 1.2.0
New feature in the ppx extension: with the option submodule = true
a submodule Lens will be generated to avoid namespace pollution.
Example from the tests:
module M_with_module : sig
type car = {
make : string;
model: string;
mileage: int;
} [@@deriving lens { submodule = true }]
end = struct
type car = {
make : string;
model: string;
mileage: int;
} [@@deriving lens { submodule = true }]
end
Thanks to @orbifx for opening an issue (#5) and to @didier-wenzek for the implementation.
Fixed issues with opam package
v1.0.2 Fixed issues with opam package
Documentation improvement
Added colorized code in README