Coconut

Latest version: v3.1.0

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.3.2

Major Changes:
- **New:** Lazy chaining
- **New:** Head-last pattern-matching
- **New:** Lazy list pattern-matching
- Fixed empty and one-item lazy lists
- Improved Python version cross-compatibility
- Fixed interpreter errors

_[Kopyor](https://en.wikipedia.org/wiki/Kopyor_coconut) is the Indonesian name for a macapuno coconut._

0.3.1

Major Changes:
- **New:** Lazy lists
- **New:** Pattern-matching function definition
- **New:** Enhanced `except` statements
- **New:** `__coconut_version__` built-in
- `def` is now mandatory in mathematical function definition
- Match failures now raise `MatchError` instead of `ValueError`
- Added `coconut.convenience.parse(mode="exec")`

_[Jawz Hindi](https://en.wikipedia.org/wiki/Coconut#Etymology) is the Arabic word for Coconut, translated literally as Indian Nut._

0.3.0

Major Changes:
- **New:** Destructuring assignment
- **New:** Implicit partial application
- **New:** Additional pipeline operators
- Changed non-decimal integer syntax from `101_2` to `2_101`
- Improved error messages
- `coconut.convenience.version("full")` is now `coconut.convenience.version("spec")`

_[Ilocos](https://en.wikipedia.org/wiki/Ilocos_Region) is an area in the Philippines that is a major producer of coconuts._

0.2.3

Major Changes:
- **New:** Infix function definition
- **New:** `--target` parameter
- **New:** Support for Python 3.5 syntax
- More Python-like interpreter

_[Hawaii](https://en.wikipedia.org/wiki/Hawaiian_Islands) is one of the most iconic homes of the coconut tree._

0.2.2

Major Changes:
- **New:** `case` blocks
- **New:** Code passthrough
- **New:** Checks in `match` statements
- More Pythonic list and tuple matching
- Fixed module docstrings
- Reduced header size

_[Guam](https://en.wikipedia.org/wiki/Guam) was once home to many coconut plantations until they were destroyed by the coconut rhinoceros beetle._

0.2.1

Major Changes:
- **New:** [IPython](http://ipython.org/) Support
- Improved Backtick Calling
- Improved Convenience Functions
- Improved Python 2/3 Universalizability
- Improved Error Messages
- Fixed Match Statement Errors
- `--exec` is now `--code`

_[Fiji](http://en.wikipedia.org/wiki/Fiji) is an island home to many coconut trees, including the eponymous Fiji Dwarf._

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.