
24 Sep
2008
24 Sep
'08
10:06 p.m.
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