Multiple imports on a single line
Malcolm Wallace
malcolm.wallace at me.com
Wed Feb 1 21:23:20 UTC 2017
You can already write this, with only a tiny bit of syntax:
module MyApp where
import Data.Text; import Data.Foldable; import Control.Concurrent
Whether it is good style is another matter, but all compilers will certainly accept it.
Regards,
Malcolm
On 1 Feb 2017, at 14:18, 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
> ...
>
> That way we could write more concise and short code as Haskell promises. This will be useful for small programs like scripts, small tools, tutorials, examples, etc.
>
> Best regards,
> Vassil Keremidchiev
> _______________________________________________
> 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/3fffb814/attachment.html>
More information about the Haskell-prime
mailing list