Simple, elegant, Pythonic functional programming.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by evhub over 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)func$(?, y)
) (thanks @Sitwon!)%magic
commands on Coconut's Jupyter kerneldef (x is int) -> x
)coconut-run
command with shebang support (e.g. #!/usr/bin/env coconut-run
)COCONUT_STYLE
environment variable for setting a default --style
CONTRIBUTING.md
Fixes:
.method(args)
)%coconut
command multiple times--watch
compiling files twice (thanks @Nexus6!)reversed
and enumerate
built-ins (thanks @Nexus6!)Published by evhub about 8 years ago
Colonel is the next major release of Coconut, and makes major feature additions and minor breaking changes over v1.1.1 [Brontosaurus]. See the updated documentation for more information on everything below.
Breaking changes:
@recursive
(now does auto tco)..
) precedence changed--autopep8
flagNew features:
--jobs
flag@recursive_iterator
pass
for data
and class
nonlocal
and global
statements--keeplines
flagPublished by evhub over 8 years ago
v1.1.1 [Brontosaurus] makes only minor feature additions over v1.1.0 [Brontosaurus], and should be fully backwards-compatible. The major changes were:
--watch
flag (#99, #106, thanks @Boscillator!)pip install coconut[...]
as a way to install optional dependenciesPublished by evhub over 8 years ago
Brontosaurus makes notable feature additions over v1.0.0 [Albatross], but should be fully backwards-compatible. The major changes were:
addpattern
and prepattern
built-ins (#92, #103).coc
to .coco
(#88)pyparsing
2.1.5Published by evhub over 8 years ago
Albatross is the first production release (v1.0.0) of the Coconut programming language. No new features have been added since Pinnate (v0.4.1), although there have been major stability improvements. For documentation, see our new website at http://coconut-lang.org.
Published by evhub over 8 years ago
Pinnate (v0.4.1) is the first candidate release for v1.0.0. The language has become relatively stable and is unlikely to change much until a release is selected for v1.0.0.
Massive changes have been made to Coconut since Odisha (v0.3.6). If you've been following Coconut development, you should read the new tutorial and go over the new documentation to familiarize yourself with all the changes.
Pinnate is the type of leaf on the Coconut palm.
Published by evhub almost 9 years ago
Major Changes:
--package
or -p
and --standalone
or -a
flags for forcing the type of compilation to perform--print
or -p
is now --display
or -d
(-d
is no longer an alias of --debug
)data
mutability and augmented assignmentOdisha is a part of India famous for its coconuts.
Published by evhub almost 9 years ago
Major Changes:
consume
function for efficiently exhausting iterators--force
is passed)(-)
to support subtraction and negationstr
, bytes
, and open
--strict
isn't passedcoconut.convenience.setup
functionCocos Nucifera is the scientific name for the coconut tree.
Published by evhub almost 9 years ago
Major Changes:
datamaker
function for writing data.__new__
constructorsitemgetter
, attrgetter
, and methodcaller
from built-ins in favor of implicit partial applicationslice
objects in iterator slicingpyparsing
Macapuno is a type of mutant coconut commonly used in desserts.
Published by evhub almost 9 years ago
Major Changes:
--run
ing a file with importsLauric acid is the primary fatty acid found in coconuts.
Published by evhub almost 9 years ago
Major Changes:
Kopyor is the Indonesian name for a macapuno coconut.
Published by evhub about 9 years ago
Major Changes:
except
statements__coconut_version__
built-indef
is now mandatory in mathematical function definitionMatchError
instead of ValueError
coconut.convenience.parse(mode="exec")
Jawz Hindi is the Arabic word for Coconut, translated literally as Indian Nut.
Published by evhub about 9 years ago
Major Changes:
101_2
to 2_101
coconut.convenience.version("full")
is now coconut.convenience.version("spec")
Ilocos is an area in the Philippines that is a major producer of coconuts.
Published by evhub over 9 years ago
Major Changes:
case
blocksmatch
statementsGuam was once home to many coconut plantations until they were destroyed by the coconut rhinoceros beetle.
Published by evhub over 9 years ago
Published by evhub over 9 years ago
Major Changes:
itemgetter
, attrgetter
, methodcaller
, dropwhile
, and tee
--code
is now --exec
Eocene is the period in which it is believed the earliest coconut trees lived.