Skip to content

Releases: lloydmeta/diesel

v0.2.8 release

Choose a tag to compare

@lloydmeta lloydmeta released this 21 May 05:24

@ktrans

  • Add support for forwarding abstract methods not wrapped by the algebra's kind

  • Detect when abstract return types are parameterised by the algebra's kind parameter and abort with a nice message.

v0.2.7 release

Choose a tag to compare

@lloydmeta lloydmeta released this 20 May 15:13

@ktrans

  • Add deeper check for params with types referencing algebra kind on methods

  • Move Defaults into internal package since no one can use them anyway

  • Check and throw a nice error if the algebra has parameters that refer to its kind parameter

v0.2.6 release

Choose a tag to compare

@lloydmeta lloydmeta released this 19 May 16:09

@ktrans

Do not modify with type names if they are of type Type.Select because those can't point to type parameters.

v0.2.5 release

Choose a tag to compare

@lloydmeta lloydmeta released this 19 May 12:44

@ktrans

Improve the way type parameters (including the Kind parameter of the algebra for which transformK is being generated) are "bumped" in the case of implementing methods in the transformed algebra.

Previously, there was a chance that parameter names could clash.

Also, add an error case for when a type member definition shadows the original algebra's Kind.

v0.2.4 release

Choose a tag to compare

@lloydmeta lloydmeta released this 19 May 02:01

Fix @diesel forwarding annotations to generated companion object (often not desirable).

v0.2.3

Choose a tag to compare

@lloydmeta lloydmeta released this 18 May 19:29

Add another bail case for @ktrans

v0.2.2 release: @ktrans

Choose a tag to compare

@lloydmeta lloydmeta released this 18 May 18:34

Introduce @ktrans annotation to make it easy to do Kind transforms on DSL interpreters.

v0.2.1 release

Choose a tag to compare

@lloydmeta lloydmeta released this 17 May 16:42

Adds an import for scala.language.implicitConversions into the generated ops object.

v0.2.0 release

Choose a tag to compare

@lloydmeta lloydmeta released this 17 May 11:53

Major reworking

  • No longer emit Dsl
  • Add summoner .apply method for in-scope F[_] interpreter on the companion object
  • Add an autoconversion under companion object ops to automatically bind an in-scope F[_] interpreter 's methods to the companion object.

v0.1.12 release

Choose a tag to compare

@lloydmeta lloydmeta released this 07 May 12:43
  • Scalaz, Cats lib integration overall
  • Bump versions for Scala, ScalaJS, Scalaz