coconut icon indicating copy to clipboard operation
coconut copied to clipboard

Simple, elegant, Pythonic functional programming.

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

Should compile ``` x |> (.+1) ``` to ``` x + 1 ```

performance

Should be able to support: ``` listen_for_requests() |> async_map$(handle_request) ```

feature

Requesting Hygenic Macros like in macropy: https://github.com/lihaoyi/macropy Its useful for example to refer to the columns of a dataframe of object in a formula or expression that is later expanded...

feature

Should replace the compiler flags with compiler directives at the top of the file. Syntax can be something like: ```python coconut: no_tco ```

feature

Suggested Syntax: ``` def ` ` : ` ` = ```

feature

``` % http https://coconut-lang.org http: error: SSLError: HTTPSConnectionPool(host='coconut-lang.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError("hostname 'coconut-lang.org' doesn't match either of 'www.github.com', '*.github.com', 'github.com', '*.github.io', 'github.io', '*.githubusercontent.com', 'githubusercontent.com'")))...

bug

Should suppress `--strict` warnings.

modification
good first issue

The simple statement `from io import StringIO` results in an error when running mypy checks. ``` $ coconut error.coco -s Compiling error.coco ... Compiled to error.py . $ coconut error.coco...

modification

If the operands to a `::` call are just variables, we shouldn't be wrapping them in a lazy list.

modification
performance

Should compile ```python addpattern def f(...) = ... ``` into ```python def _unique_name_(...) = ... f = addpattern(f)(_unique_name_) ``` when there are no additional decorators.

feature