Hacker GitHub

← All repos

gilch/drython

View on GitHub ↗ ★ 29 Python

metaprogramming for don't-repeat-yourself Python

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2020-02-08 · latest 2021-05-06

Mentions per year 3 mentions · busiest year 2020 (2)
20082026
  1. …But see the @loop decorator from Drython for how to do this in Python: https://github.com/gilch/drython/blob/eb1773c14060e31e2544f5...
  2. …`:=` now: https://www.python.org/dev/peps/pep-0572/ Even before that, I had a "let" in Drython: https://github.com/gilch/drython/blob/master/drython/stateme... In Haskell let and lambda have a subtle distinction due to the type system, but…
  3. …demonstrates just how far you can stretch Python's lambdas. Check out its readme for examples: https://github.com/gilch/drython Hissp, my Lisp-on-Python project, uses multiline lambdas to simplify its compilation target to a functional…