3 ms·
Absolutely, along with .NET's IEnumerable/LINQ. Laziness is definitely possible in a strict language via thunks (similar to how Haskell does it behind the scen
by nightski 8y ago
Absolutely, along with .NET's IEnumerable/LINQ.
Laziness is definitely possible in a strict language via thunks (similar to how Haskell does it behind the scenes). However I didn't realize what laziness by default makes possible until I spent considerable time in the Haskell ecosystem. It really is a game changer.