News for hackers. Stuff that matters.
Re:Human use of high-bandwidth wireless brain-computer inter... by tachyonbeam on Sunday April 04, 2021 @01:15PM (#26691168)
I've heard people say that Haskell would be better with eager rather than lazy evaluation, because of the mental burden that it causes. IMO that doesn't seem like a hard problem to solve. We can design pure functional languages with eager evaluation.
Re:Human use of high-bandwidth wireless brain-computer inter... by zozbot234 on Sunday April 04, 2021 @01:55PM (#26691474)
Haskell would be better if it used polarity and focusing to make both strict and lazy evaluation first-class citizens in the language. A stricrly-evaluated counterpart to Haskell is just ML, which we've had since the 1970s.
Re:Human use of high-bandwidth wireless brain-computer inter... by tachyonbeam on Sunday April 04, 2021 @02:02PM (#26691518)
I've coded in OCaml, which wasn't pure immutable, but rather immutable by default. Because it has mutability, that removes the focus on immutable data structures, making it a very different language.
Re:Human use of high-bandwidth wireless brain-computer inter... by jose_zap on Sunday April 04, 2021 @04:45PM (#26692674)
You can make any module strict by using the XStrict language pragma in Haskell.