Skip to content

Releases: pdonadeo/ocaml-lens

Version 1.2.5

25 Apr 19:45
v1.2.5
f66e2eb
Compare
Choose a tag to compare

Migration to ppxlib, thanks to @Nymphium

Version 1.2.4

30 Jul 23:35
v1.2.4
Compare
Choose a tag to compare

This version is compatible with OCaml >= 4.10

Version 1.2.3

02 Nov 09:33
v1.2.3
Compare
Choose a tag to compare
  • 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

20 Jan 20:42
v1.2.2
Compare
Choose a tag to compare

Solved issue #11 with the pseudo imperative -= infix operator
Thanks to @takanuva for reporting this.

Version 1.2.1

03 Jul 22:20
v1.2.1
Compare
Choose a tag to compare

Build system changed from oasis/ocamlbuild to jbuilder.

Version 1.2.0

28 Jan 15:20
Compare
Choose a tag to compare

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

29 Jun 21:08
Compare
Choose a tag to compare
v1.0.2

Fixed issues with opam package

Documentation improvement

22 Jun 16:56
Compare
Choose a tag to compare

Added colorized code in README