Coconut v1.2.1 Release Notes

Release Date: 2017-02-15 // about 7 years ago
  • ๐Ÿ“š See Coconut's documentation for more information on all of the features listed below.

    ๐Ÿ†• New features:

    • --mypy flag for automatic type-checking (including real-time in the REPL)
    • ๐Ÿ‘Œ Support for Python type annotations on all versions
    • ๐Ÿ†• New enhanced partial application (e.g. func$(?, y)) (thanks @Sitwon!)
    • Tail recursion elimination added in addition to tail call optimization
    • ๐Ÿ‘Œ Support for %magic commands on Coconut's Jupyter kernel
    • Syntax highlighting for Coconut's Jupyter kernel
    • ๐Ÿ‘Œ Support for keyword and star arguments in pattern-matching function definition
    • ๐Ÿ‘Œ Support for pattern-matching in statement lambdas (e.g. def (x is int) -> x)
    • โž• Adds coconut-run command with shebang support (e.g. #!/usr/bin/env coconut-run)
    • ๐Ÿ‘Œ Support for COCONUT_STYLE environment variable for setting a default --style
    • ๐Ÿ†• New CONTRIBUTING.md
    • ๐Ÿ†• New Czech translation (thanks @Tovim!)

    ๐Ÿ›  Fixes:

    • Method calls are now valid implicit partials (e.g. .method(args))
    • Compilation speed significantly increased
    • ๐Ÿ›  Fixed running IPython %coconut command multiple times
    • ๐Ÿ›  Fixed --watch compiling files twice (thanks @Nexus6!)
    • ๐Ÿ”– Version restrictions on dependencies loosened
    • โœจ Enhanced reversed and enumerate built-ins (thanks @Nexus6!)
    • ๐Ÿ›  Fixed calling methods on integer literals (thanks @DomoSokrat!)