Skip to content

Coconut v3.0.1

Compare
Choose a tag to compare
@evhub evhub released this 25 May 03:36
· 402 commits to master since this release

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

This is a patch release primarily aimed at fixing #746, though it also brings a couple of new features and other fixes as well.

New features:

  • #743: New f(...=long_name) syntax as a shorthand for f(long_name=long_name).
  • #744: f ..> g will now preserve the signature of f when inspected using inspect.signature.

Language changes:

  • #736: fmap will now raise TypeError rather than falling back to a default implementation when it encounters an unknown type. For backwards compatibility, the old behavior can be recovered with fmap$(fallback_to_init=True).
  • #737: fmap now works properly on multiset.

Bugfixes:

  • #746: Syntax errors produced when using Coconut's Jupyter kernel will now present themselves nicely rather than causing an error.
  • #745 (thanks @Starwort!): xonsh will no longer fail on semicolon-seperated commands when using the Coconut extension.
  • #739 (thanks @yggdr!): Compiling a single directory in --stand-alone mode will now properly make use of --jobs.
  • #742 (thanks @kloczek!): Fixed a deprecation warning when installing Coconut.