Multiple imports on a single line

Francesco Ariis fa-ml at ariis.it
Wed Feb 1 15:34:57 UTC 2017


On Wed, Feb 01, 2017 at 04:18:13PM +0200, Vassil Ognyanov Keremidchiev wrote:
> Hello!
> 
> What do you think about an idea to have multiple imports on a single line,
> like:
> 
> module MyApp where
> import Data.Text, Data.Foldable, Control.Concurrent
> ...

Hello Vassil,
  how would qualified/as work?
Would import statement like this:

    import Data.Text, qualified Data.Foldable as F, Control.Concurrent

be allowed?



More information about the Haskell-prime mailing list