[Haskell-cafe] Importing more modules by default

David McBride toad3k at gmail.com
Thu Aug 8 16:04:29 CEST 2013


I've started using BasicPrelude with -XNoImplicitPrelude in all of my
code.  It imports all of those and some other stuff as well (text related
functions).  Cuts down on my imports by a little over half.  Kind of wish
it could be made the default.


On Wed, Aug 7, 2013 at 10:23 PM, aditya bhargava
<bluemangroupie at gmail.com>wrote:

> Hi there,
> It seems like every Haskell program I write imports the following modules:
>
> Control.Monad
> Control.Applicative
> Data.Maybe
> Data.List
>
> Is there a good reason why these modules aren't imported by default? When
> I write a simple script usually a 1/4th of the script is just imports, and
> my code just looks uglier.
>
> Adit
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130808/d460c2f6/attachment.htm>


More information about the Haskell-Cafe mailing list