Multiple imports on a single line

Carter Schonwald carter.schonwald at gmail.com
Wed Feb 1 19:29:52 UTC 2017


likewise, why not use semicolon? per se we already can do mulitple lines on
a single line via semicolon :)

On Wed, Feb 1, 2017 at 10:34 AM, Francesco Ariis <fa-ml at ariis.it> wrote:

> 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?
>
> _______________________________________________
> Haskell-prime mailing list
> Haskell-prime at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-prime
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-prime/attachments/20170201/2ab36c27/attachment.html>


More information about the Haskell-prime mailing list