Earlier quoted context omitted.
Perhaps Haskell compromised on first-class modules. But ML compromised on: * Type-classes (which overlap but aren't really the same thing and are probably more important) * Typed-effects (a.k.a purity): This is a big one to lose. * Laziness/Strictness control I think ML is more of a compromise than Haskell.
Actually, I was originally of the same opinion, but then I read some lecture slides from Simon PJ. He has suggested that laziness was perhaps not the best default. It is hard to reason about space leaks with laziness. Likewise for typeclasses being inferior to ML functors. http://www.cs.nott.ac.uk/%7Egmh/appsem-slides/peytonjones.pp... I personally disagree. I'm pretty sure laziness has made it much easier for me to…
Aha, but it's perhaps not the best default for practical reasons, and it is the best default for theoretical reasons. Does that not make ML's eagerness an example of worse is better, because the worse theoretical solution is simpler the the rubber meets the road and you just want to find out where you're leaking memory>