Skip to content

Releases: RedPRL/algaeff

2.0.0

31 Oct 21:12
2.0.0
61338ed
Compare
Choose a tag to compare

This major release has two breaking changes:

  1. Algaeff.{Reader,Sequencer,State,UniqueID} are now taking a module with a type t. Previously, the type is named elt, env, or state depending on the component. Now, it is always named t. The benefit is that one can write succinct code for built-in types:
    module R = Algaeff.Reader.Make (Bool)
    module Sq = Algaeff.Sequencer.Make (Int)
    module St = Algaeff.State.Make (Int)
    module St = Algaeff.UniqueID.Make (String)
    To upgrade from the older version of this library, please change the type name (env, elt, or state) in
    module R = Algaeff.Reader.Make (struct type env = ... end)
    module Sq = Algaeff.Sequencer.Make (struct type elt = ... end)
    module St = Algaeff.State.Make (struct type state = ... end)
    module U = Algaeff.UniqueID.Make (struct type elt = ... end)
    to t as follows:
    module R = Algaeff.Reader.Make (struct type t = ... end)
    module Sq = Algaeff.Sequencer.Make (struct type t = ... end)
    module St = Algaeff.State.Make (struct type t = ... end)
    module U = Algaeff.UniqueID.Make (struct type t = ... end)
  2. Algaeff.Unmonad is removed.

1.1.0

01 Oct 17:30
1.1.0
4d971aa
Compare
Choose a tag to compare

Features

  • {Mutex,Reader,Sequencer,State,UniqueID}.register_printer to add custom printers for unhandled effects (available in all components except Unmonad) (#19) (2a13145) (#22) (9bb4788)

1.0.0

20 Sep 17:19
1.0.0
186df8b
Compare
Choose a tag to compare

First stable release

0.2.1

16 Dec 16:37
7ab93a8
Compare
Choose a tag to compare

First official release (with the arrival of OCaml 5.0.0)

0.2.0

02 Jun 11:08
Compare
Choose a tag to compare
docs(README): add an intro to finally_with

0.1.0

17 May 22:52
Compare
Choose a tag to compare
0.1.0