Re: Multiple imports on a single line

I often see a confusion between greater expresiveness (good goal) and having to type less (largely irrelevant goal). By all means make the module system more expressive, but try to avoid "clever" things for convenience.
To expand upon this principle a bit, syntactic sugar that promises to save O(1) typing in an n-line module is suspect; that which might save O(n) is more promising. Doug

So it's O(N) -> O(1) where N is a number of lines/imports.
But you're right for the readiness. I'm convinced!
2017-02-02 16:52 GMT+02:00 Doug McIlroy
I often see a confusion between greater expresiveness (good goal) and having to type less (largely irrelevant goal). By all means make the module system more expressive, but try to avoid "clever" things for convenience.
To expand upon this principle a bit, syntactic sugar that promises to save O(1) typing in an n-line module is suspect; that which might save O(n) is more promising.
Doug
_______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-prime
participants (2)
-
Doug McIlroy
-
Vassil Ognyanov Keremidchiev