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
andenumerate
built-ins (thanks @Nexus6!) - ๐ Fixed calling methods on integer literals (thanks @DomoSokrat!)