evhub/coconut
View on GitHub ↗ ★ 4,356 Python
Simple, elegant, Pythonic functional programming.
13 mentions on Hacker News by 8 people: 2 stories, 11 comments · first 2018-06-25 · latest 2025-07-07
20082026
-
Check out Coconut ( https://github.com/evhub/coconut ), which implements an entire functional programming language as a Python superset that compiles to Python bytecode.
comment by ethan_smith · 2025-07-07 · in Uncommon Uses of Python in Commonly Used Libraries (2022) -
▲ 3
Coconut: Simple, elegant, Pythonic functional programmingstory by behnamoh · 2023-11-27 · 0 comments
-
…the past to make a new language compatible with the Python ecosystem (look up hylang and coconu -- https://github.com/evhub/coconut ). But at the end of the day, I'd come back to Python because if there's one thing I've learnt in recent…
comment by behnamoh · 2023-10-19 · in Mojo is now available on Mac -
…I hear someone who's reasonably content with Python but wants more FP goodies I always think of it. https://github.com/evhub/coconut . It's basically a superset of Python3 that transpiles into Python3 and is compatible with MyPy. I don't…
comment by brightsize · 2023-08-25 · in Leaving Haskell behind -
▲ 2
Coconut: Simple, elegant, Pythonic functional programmingstory by behnamoh · 2022-09-25 · 0 comments
-
…doesn't have the "parameter fixing" thing.) Related: Coconut - a functional superset of Python - https://github.com/evhub/coconut range(10) |> map$(pow$(?, 2)) |> list There were others but I can't remember which now.
comment by throwamon · 2022-02-21 · in More intuitive partial function application in Python -
This is one of the biggest reasons I really like (the python superset) Coconut: https://github.com/evhub/coconut
comment by bj0 · 2021-01-21 · in Toolz: A functional standard library for Python -
no commits in 5 years, from reading the issues, this seems like a more maintained alternative https://github.com/evhub/coconut
comment by tingletech · 2020-09-22 · in Haskell language features and standard libraries in pure Python -
There's Coconut ( https://github.com/evhub/coconut ), which is a functional extension of Python 3 that compiles to Python 2 or 3. The case studies here can show you the syntax: https://coconut.readthedocs.io/en/master/HELP.html And the…
comment by eindiran · 2020-02-19 · in Dogelang – A Python with Haskell Syntax -
The code is available on Github: https://github.com/evhub/coconut
comment by eindiran · 2019-01-03 · in Coconut: Pythonic functional programming -
Here is where TCO is implemented in the Coconut compiler code: https://github.com/evhub/coconut/blob/07e311fb8f69861d30e58f...
comment by eindiran · 2019-01-03 · in Coconut: Pythonic functional programming -
…Open Collective for that: https://opencollective.com You can see how the bounties are labeled here: https://github.com/evhub/coconut/issues When you complete the PR for the issue, you then fill out a form with Open Collective and they…
comment by eindiran · 2018-10-16 · in Ask HN: Issue bounties for GitHub projects? -
…if you have common REST objects but want to write microservices in multiple languages. Coconut ( https://github.com/evhub/coconut ) might be interesting to you too.
comment by tedmiston · 2018-06-25 · in Ask HN: Why aren’t libraries inter-callable by default?