News for hackers. Stuff that matters.
Re:Maybe Everything Is a Coroutine by zozbot234 on Wednesday February 14, 2024 @05:26PM (#39376436)
In a sense, inductive types are "naturally strict" whereas co-inductive types are "naturally lazy". Though there are some types, such as products/tuples and arrays, that come in both strict and lazy varieties. Ultimately, this would allow one to equally account for both strict and lazy evaluation in a very natural way - quite unlike languages like ML or Haskell, where only one form is natural and idiomatic whereas the other has to be added as an afterthought.

There are no comments on this comment yet.