Skip to content

Releases: MasonProtter/SumTypes.jl

v0.5.8

21 May 17:35
e199537
Compare
Choose a tag to compare

SumTypes v0.5.8

Diff since v0.5.7

Merged pull requests:

  • Improve hygiene of sum_type macro (#79) (@Tortar)

v0.5.7

21 May 11:52
002b241
Compare
Choose a tag to compare

SumTypes v0.5.7

Diff since v0.5.6

Merged pull requests:

  • Allow constrained type parameters in variant (#78) (@Tortar)

Closed issues:

  • @sum_type doesn't work with constrained type parameter in variant (#73)
  • Can constructors of a sum type be alias of variants? (#77)

v0.5.6

13 Feb 19:10
6da8e18
Compare
Choose a tag to compare

SumTypes v0.5.6

Diff since v0.5.5

Merged pull requests:

Closed issues:

  • Error when creating SumType in an untyped vector (#66)
  • Strange error when sum_type macro is used inside a begin block (#67)
  • Memory corruption in 0.9.3 (#71)

v0.5.5

20 Jan 16:16
e63b30f
Compare
Choose a tag to compare

SumTypes v0.5.5

Diff since v0.5.4

Merged pull requests:

  • Make it possible to document sum types (#63) (@Tortar)

Closed issues:

  • Doc Comments with @sum_type (#32)

v0.5.4

20 Jan 15:17
1f5b1cf
Compare
Choose a tag to compare

SumTypes v0.5.4

Diff since v0.5.3

  • SumTypes can now be created with a custom abstract supertype #44

Merged pull requests:

  • Allow abstract type for sum type (#61) (@Tortar)

Closed issues:

  • Allow specifying a supertype (#44)

v0.5.3

17 Jan 19:26
4edded4
Compare
Choose a tag to compare

SumTypes v0.5.3

Diff since v0.5.2

Merged pull requests:

Closed issues:

  • mutable sum types? (#57)

v0.5.2

17 Jan 11:27
3496cdb
Compare
Choose a tag to compare

SumTypes v0.5.2

Diff since v0.5.1

Merged pull requests:

v0.5.1

20 Nov 18:12
8cf1b49
Compare
Choose a tag to compare

SumTypes v0.5.1

Diff since v0.5.0

  • Added _ as an option @cases to catch all variants.

Merged pull requests:

Closed issues:

  • sum types are not isbits (#52)
  • default in @cases when unpacking is not necessary (#55)

v0.5.0

27 Jun 06:14
c7628c4
Compare
Choose a tag to compare

SumTypes v0.5.0

This version removes the full_type function because it's now unnecessary. SumTypes no longer have extra computed parameters.

Diff since v0.4.8

Closed issues:

  • Dealing with extra parameters in recursive sumtypes (#30)

Merged pull requests:

v0.4.8

10 Jun 21:41
879a908
Compare
Choose a tag to compare

SumTypes v0.4.8

Diff since v0.4.7

Closed issues:

  • Noob question: performance tradeoffs vs. the MLStyle approach to sum types (#29)

Merged pull requests: