News for hackers. Stuff that matters.
Re:Green vs. Brown Programming Languages by aranchelk on Friday April 23, 2021 @12:14AM (#26910923)
The cool thing about the syntax in Haskell is it’s not tied specifically to async, you can use it for synchronous IO, business logic, parsers, etc. It makes for small context switches when working on different parts of an application.
Re:Green vs. Brown Programming Languages by astrange on Friday April 23, 2021 @06:53PM (#26920191)
To adopt it in other languages don't you need non-strict evaluation, at which point it's hard to stop yourself from becoming Haskell?
Re:Green vs. Brown Programming Languages by aranchelk on Friday April 23, 2021 @10:38PM (#26921776)
Certain idioms in Haskell rely on laziness, but thankfully monads and do notation do not. They’re used in PureScript which is strict.