coconut icon indicating copy to clipboard operation
coconut copied to clipboard

Simple, elegant, Pythonic functional programming.

Results 95 coconut issues
Sort by recently updated
recently updated
newest added

What about allowing in-place operations for tuples like so: ``` (a, b) += (c, d) # equivalent to a+= c; b +=d A = (1, 2, 3) B = (2,...

feature

Should be significantly faster.

modification
performance

I´d like to compile other Coconut files dynamically from my coco script, but I need to know the target version of the current script, otherwise I get results that are...

feature

Coconut's [documentation for the `data` keyword](http://coconut.readthedocs.io/en/master/DOCS.html#data) states that it lets you create immutable ADTs. I see a nice concise language for creating immutable product types, but for it to truly...

documentation
question

Any plans to allow [runtime type enforcing](https://github.com/RussBaz/enforce)? I attempted to use the enforce decorator `@runtime_validation` but for the `data` types (coconut named tuples, while enforce expects [`typing.NamedTuple`](https://github.com/RussBaz/enforce#namedtuple)) I couldn't get...

oversight

I'm having cases where I repetitively write the same code parts (as a replacement for some built-in stuff), and want to simplify. However, I don't want to replace everything by...

feature

In my test code I mock user input to simulate interactive console interaction. Since above mentioned version, the tests jump into interactive mode instead of being mocked (vs. `.dev20`, which...

oversight

When I run `coconut-run -t3 -l code.coco` it compiles, when run the first time. When I run an alias `cr code.coco` it compiles again, although already built. The alias is...

oversight

Proposed implementation: - `const`: right-hand side is evaluated at compile time - `final`: protected from being re-assigned by the compiler

feature