News for hackers. Stuff that matters.
Re:Show HN: Koda, a typesafe functional toolkit for Python by dragonwriter on Monday February 07, 2022 @01:35PM (#30249026)
> Why the one would write functional code in a language that ain’t very good with maps and filters, has no lazy calculations and has no constants on language design level?

Python is fine with maps and filters, and has lazy calculations.

Re:Show HN: Koda, a typesafe functional toolkit for Python by impoppy on Monday February 07, 2022 @01:58PM (#30249344)
Please provide links so I can read on this
Re:Show HN: Koda, a typesafe functional toolkit for Python by muxator on Monday February 07, 2022 @03:34PM (#30250663)
The map() function is already lazy (in python 3 it returns a generator, and not a materialized list).

You can also have a look at "generator expressions", which are the lazy counterpart to a list comprehension (hint: use " ()" instead of "[]").

Re:Show HN: Koda, a typesafe functional toolkit for Python by dragonwriter on Monday February 07, 2022 @04:33PM (#30251550)