<div dir="ltr">A simple question deserves a simple answer, I suppose.<br><br>My brain must still be in the imperative language namespace. Thanks, everybody.<br>Mike<br><br><br><br><br><div class="gmail_quote">On Wed, Sep 24, 2008 at 9:06 PM, Rahul Kapoor <span dir="ltr"><<a href="mailto:rk@trie.org">rk@trie.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">> What is the easiest and/or best way to define global "constants" in Haskell<br>
> (avoiding any side effects, of course). The functionality I'm thinking of is<br>
> similar to the use of global "const" variables or #defines in C code.<br>
<br>
</div>Why not a simple definition:<br>
<br>
somename = 1<br>
<br>
Cheers,<br>
<font color="#888888">Rahul<br>
</font></blockquote></div><br></div>