4 ms·
Perhaps a strict Haskell 98 implementation? I really like Haskell but i'm still not convinced that laziness should be the default. It would be interesting to se
by felixmar 18y ago
Perhaps a strict Haskell 98 implementation? I really like Haskell but i'm still not convinced that laziness should be the default. It would be interesting to see what the trade-offs are.
- apgwoz 18y agoInteresting. I've been thinking about laziness a bit lately and am wondering why not to make it the default. Of course my thoughts haven't produced much and I haven't went in search of arguments yet. But, the only argument against it that I can see is efficiency assuming your in a pure functional language. Obviously, laziness when the surrounding environment is changing can lead to unpredictability, but compiling memoized thunks to implement laziness seems like it could be optimized very well. Edit: In regards to your actual suggestion, I'll take a look at the spec and the idea. Thanks