Skip to content

v1.4.0 [Ernest Scribbler]

Choose a tag to compare

@evhub evhub released this 16 Aug 00:23
· 2070 commits to master since this release

See Coconut's documentation for more information on all of the features listed below.

New features:

  • #320: added import hook to automatically compile imported Coconut files (thanks @ArneBachmann!)
  • #347: added where clauses
  • #270: added a memoize decorator (thanks @iamrecursion!)
  • #403: added a TYPE_CHECKING constant
  • #409: added support for M `bind` x -> y syntax
  • #419: data type equality is now typed (thanks everyone in #418!)
  • #331: support negative pattern-matching with match ... not in ...
  • #411: count now supports a step size of 0
  • #394: scan now has an initializer argument
  • #398: creating a new indented block after a colon is no longer necessary for any statement
  • #229: --strict now warns on unused imports
  • #327: interpreter now supports reload built-in (thanks, @ArneBachmann!)
  • #382: interpreter now supports compiling to arbitrary file names
  • #393: unicode operators for multiplication and matrix multiplication have been switched
  • #153: function composition precedence is now such that f..g(x) is the same as f..(g(x)) not (f..g)(x)
  • #395: built-in attributes changed to remove initial underscores

Plus lots and lots of bugfixes!