Multiple imports on single line

Simon Peyton Jones simonpj at
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


From: ghc-devs [mailto:ghc-devs-bounces at] On Behalf Of eng. Vassil Ognyanov Keremidchiev
Sent: 31 July 2014 23:25
To: ghc-devs at
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: <>

More information about the ghc-devs mailing list