Re: Multiple imports on a single line

2017-02-02 Thread Vassil Ognyanov Keremidchiev
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
>
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-prime


Re: Multiple imports on a single line

2017-02-02 Thread 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


Re: Multiple imports on a single line

2017-02-02 Thread Jon Fairbairn
Sven Panne 
writes:

> 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.

+1

-- 
Jón Fairbairn jon.fairba...@cl.cam.ac.uk

___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-prime