[Haskell-beginners] Haskell Preprocessor?

Mike Sullivan mbsullivan at gmail.com
Wed Sep 24 22:14:54 EDT 2008

A simple question deserves a simple answer, I suppose.

My brain must still be in the imperative language namespace. Thanks,

On Wed, Sep 24, 2008 at 9:06 PM, Rahul Kapoor <rk at trie.org> wrote:

> > What is the easiest and/or best way to define global "constants" in
> Haskell
> > (avoiding any side effects, of course). The functionality I'm thinking of
> is
> > similar to the use of global "const" variables or #defines in C code.
> Why not a  simple definition:
> somename = 1
> Cheers,
> Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20080924/983d83b5/attachment.htm

More information about the Beginners mailing list