
I like this idea. How about some more syntactic sugar? {-# LANGUAGE ImportSugar #-} import [Data.[Text, Foldable q-as F, Vector (Vector), Vector q-as V hiding (Vector)], Control.Concurrent, Data.List q (sum)] - tree structure, one import per leaf - prefix qualified -> postfix q - qualified/as -> q-as or q as or q/as or qas
Gesendet: Mittwoch, 01. Februar 2017 um 16:34 Uhr Von: "Francesco Ariis"
An: haskell-prime@haskell.org Betreff: Re: Multiple imports on a single line 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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-prime