[Haskell-beginners] Is there a an include statement equivalence in Haskell

Andrew Smith asmith9983 at gmail.com
Wed Feb 10 06:17:06 EST 2010

I have a few lines of Haskell which I'd like to be pulled into my
Haskell program, similar to the #include in C/C++, or Latex.

I don't want to just paste the code permanently using editor,  or pass
it through say M4, nor build my own module.

At the moment its a couple of lines I've used in three or four similar

As a Haskell beginner, is my thinking still stuck in the imperative
coding style era ?


More information about the Beginners mailing list