Multiple imports on single line

Simon Peyton Jones simonpj at microsoft.com
Thu Jul 31 22:45:03 UTC 2014


you can do it today:
  import Foo; import Bar; import Baz

you do have to repeat the ‘import’ though

S

From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of eng. Vassil Ognyanov Keremidchiev
Sent: 31 July 2014 23:25
To: ghc-devs at haskell.org
Subject: Multiple imports on single line

Hello, dear GHC developers!

Is it possible to add such constructions in next GHCs:

import Data.List, Data.Array, Data.Aeson, Network.HTTP.Conduit

on a single line. This will simplify source code and clear the space before the actual code.

Best regards,
  Vassil Keremidchiev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140731/ea3869c5/attachment.html>


More information about the ghc-devs mailing list