[Haskell-cafe] Importing more modules by default
aditya bhargava
bluemangroupie at gmail.com
Sat Aug 10 07:36:40 CEST 2013
Cool, BasicPrelude solves my problem perfectly!
On Thu, Aug 8, 2013 at 7:04 AM, David McBride <toad3k at gmail.com> wrote:
> 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
>>
>>
>
--
adit.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130809/fb78762e/attachment.htm>
More information about the Haskell-Cafe
mailing list