Skip to content

v1.2.0 [Colonel]

Compare
Choose a tag to compare
@evhub evhub released this 24 Sep 20:43
· 3069 commits to master since this release

Colonel is the next major release of Coconut, and makes major feature additions and minor breaking changes over v1.1.1 [Brontosaurus]. See the updated documentation for more information on everything below.

Breaking changes:

  • removed @recursive (now does auto tco)
  • function composition (..) precedence changed
  • removed --autopep8 flag

New features:

  • automatic tail call optimization
  • statement (multiline) lambdas
  • command-line syntax highlighting
  • --jobs flag
  • assignment function notation
  • @recursive_iterator
  • star pattern matching
  • implicit pass for data and class
  • inline nonlocal and global statements
  • --keeplines flag