Hiding import behaviour

Joachim Breitner mail at joachim-breitner.de
Sat Oct 18 22:39:42 UTC 2014


Hi,

Am Samstag, den 18.10.2014, 11:02 -0700 schrieb htebalaka:
> I guess my central point is I don't see how anyone can benefit from the
> current behaviour. For instance, a simple real world example:
> 
> import Prelude
> import Data.Text.Lazy.IO (putStrLn)

I find this quite convincing. If I bother to explicitly write out „take
putStrLn from Data.Text.Lazy.IO“, why should the compiler assume that I
might have meant some putStrLn from somewhere else.

Of course, order should not matter (I don’t think anyone suggested it
should, I think Austin simply mis-read that).

Greetings,
Joachim


-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20141019/a3811a57/attachment.sig>


More information about the Glasgow-haskell-users mailing list