4 ms·
I really wish Haskell used `let rec`. It's really easy to accidentally write an infinite loop when all lets are rec, but if you forget the rec you almost certai
by tel 12y ago
I really wish Haskell used `let rec`. It's really easy to accidentally write an infinite loop when all lets are rec, but if you forget the rec you almost certainly will get a name or type error.
Maybe I'd hate it after a day, but I think I wouldn't.
- dllthomas 12y agoIn my experience, both errors happen rarely, but both happen, and unintended-rec is much harder to track down.