Re:Statements vs. Expressions
by wruza on Thursday July 14, 2022 @07:21AM
(#32094471)
Not sure if it was irony, but check out Haskell and alikes. Its execution model is different from a regular “it evaluates at where it is”. Infinite lists like all natural numbers are a norm in it.
Lisp is also a beast to be aware of, though it is not exactly what you described.