
25 Sep
2008
25 Sep
'08
2:06 a.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