@monoidmusician@tech.lgbt
i have spent a lot of time thinking about this
if you want abstract APIs that compose nicely, you need pervasive laziness like Haskell offers. then you need a runtime optimized for laziness, and you need an optimizer and a detailed strictness analysis to cut through the abstractions and remove the worst excesses of laziness wherever it can, hopefully with some help and guidance from you.
or you do what PureScript does. optimize for strict code by default. make the language good enough, assume that the code is reasonably fast by virtue of being simple/straightforward/strict. and sigh and give up when you wanted laziness and can't have it without reimplementing chunks of library code that you ideally shouldn't have to touch.
a good optimizer is doing that rewriting work for you, without you having to touch or duplicate code.


I had stumbled on a nice aerial view and it's just too pretty to resist. 






and it still spins
wheee