
10 Feb
2010
10 Feb
'10
11:23 a.m.
"Andrew" == Andrew Smith
writes:
Andrew> Hi I have a few lines of Haskell which I'd like to be pulled Andrew> into my Haskell program, similar to the #include in C/C++, Andrew> or Latex. Andrew> I don't want to just paste the code permanently using Andrew> editor, or pass it through say M4, nor build my own module. Andrew> At the moment its a couple of lines I've used in three or Andrew> four similar programs. Andrew> As a Haskell beginner, is my thinking still stuck in the Andrew> imperative coding style era ? The equivalent is import. Modules are lightweight. As are functions. -- Colin Adams Preston Lancashire