[Haskell-cafe] Importing more modules by default
carter.schonwald at gmail.com
Thu Aug 8 07:08:14 CEST 2013
you could write a script to generate a starter file for yourself. I do
something like that with my own latex documents. Or have your own special
module that reexports all of those that you import for you own projects.
Its very easy to write your own module that reExports other modules. try it
out. many libraries that you use, such as containers, do that
theres enough variety and complexity to nontrivial projects that such a
"enforced import" would end badly
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:
> 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.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe