Coconut v1.3.0 Release Notes
Release Date: 2017-09-04 // over 6 years ago-
๐ See Coconut's documentation for more information on all of the features listed below.
๐ New features:
- #220: new function composition pipe operators (thanks, @cgarciae!)
- #243: new none-aware operators
- #200: new enhanced type annotation syntax (thanks, @fredcallaway!)
- 0๏ธโฃ #257:
data
types now support default arguments - ๐ #276:
data
types now support type annotations (thanks, @jonathanplatzer!) - ๐ #275: pipes and infix calls now support lambdas in them
- #256: new string destructuring pattern-matching
- #267: improved dictionary pattern-matching (thanks, @cgarciae!)
- #284: new
starmap
built-in - #271: new
reiterable
built-in (thanks, @pchampin!) - #266: new
scan
built-in - #297, #309: new
groupsof
built-in (thanks, @kbaskett248!) - ๐ #303:
datamaker
deprecated in favor of newmakedata
built-in - ๐ #283:
prepattern
deprecated - #282:
fmap
of a mapping now iterates over its.items()
- #286: new
--argv
command-line option - #300: Coconut now installable via
conda
- ๐ #53: now supports
cPyparsing
for faster parsing
๐ Fixes:
- ๐ #280: fixed infix notation associativity
- #268: tail call optimization now significantly faster
- ๐ #147: removed interpreter lag on first line of code
- #279: prettier interpreter errors
- #298: pattern-matching function docstrings now actually get bound to
__doc__
- #285:
type: ignore
comments now work properly - ๐ #255: fixed nested attribute getter implicit partial (thanks, @Socialery!)
- ๐ #269: fixed segfault in non-iterator functions (thanks, @pchampin!)
- ๐ #264: fixed
recursive_iterator
error (thanks, @pchampin!) - ๐ #308: fixed importing
StringIO
andBytesIO
on Python 2 (thanks, @cgarciae!) - ๐ #295: fixed Cygwin error (thanks, @halloleo!)
- ๐ #288: fixed Pythonista installation error (thanks, @iamrecursion!)
- ๐ #277: fixed Jupyter kernel installation error (thanks, @petrilli!)
- ๐ #311: now gracefully handles old
pyparsing
versions - #294: piping into partials no longer creates intermediate partial objects