Hacker GitHub

← All repos

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

Mentions per year 13 mentions · busiest year 2023 (3)
20082026
  1. Check out Coconut ( https://github.com/evhub/coconut ), which implements an entire functional programming language as a Python superset that compiles to Python bytecode.
  2. …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
  3. …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
  4. …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.
  5. This is one of the biggest reasons I really like (the python superset) Coconut: https://github.com/evhub/coconut
  6. no commits in 5 years, from reading the issues, this seems like a more maintained alternative https://github.com/evhub/coconut
  7. 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
  8. The code is available on Github: https://github.com/evhub/coconut
    comment by eindiran · 2019-01-03 · in Coconut: Pythonic functional programming
  9. 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
  10. …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…
  11. …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.