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

e.g.: ```python def func(): do_stuff() return x do_more_stuff() ```

modification

Possible syntaxes: ```python do: ... while cond ``` ```python do while cond: ... ``` ```python do: ... while: cond ``` Regardless, they should be compiled to: ```python while True: ......

feature

I was going throught the case studies for `coconut` tutorial and tried using `addpattern` ```python def factorial(0) = 1 addpattern def factorial(n is int if n > 0) = """Compute...

question

Should make new exception subclasses just aliases for their superclass on older Python versions. See: search for “new in” in

compatibility

The language looks really nice, but without some tooling around it I'll find it hard to use at work and for personal projects. It would be great if there were...

tooling

We should do something similar to what pytest does with assert statements and provide a default error message for simple assert patterns with more information than the default message. For...

feature

Currently, code highlighter in Sublime Text has been available, but code formatter (black) and linter (flake8) are not compatible with coconut, as it introduces new syntax

tooling

Really nice project. Writing in coconut files, you lose all the IDE integrations for Python. For example, I use VSCode and all the intellicode and hints of course doesn't work...

good first issue
tooling

This broke my tests, when I attempted to use the `print

feature

Recently added was the [`mypyc`](https://github.com/mypyc/mypyc) package. Probably not compatible with all Python versions and distributions, but it is said to run 3 times faster than `mypy`. Could be put conditionally...

compatibility