News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code by eru on Wednesday October 09, 2024 @02:49AM (#41785185)
Funny enough, the equivalent of your Python example is how Haskell 'fakes' all functions with more than one argument (at least by default).

Imperative blocks of code in Haskell (do-notation) also work like this.

There are no comments on this comment yet.