Hi all,

I'm looking for good examples of using Template Haskell to evaluate CAFs at compile time, e.g. if I have some expensive-to-calculate lookup table which I'd rather have evaluated at comile time and included in the executable as a constant value, rather than having it computed every time the executable is run.  I know I've seen examples of this before, but now that I would actually like to study such an example, I can't seem to find any.  Any suggestions?  Or can anyone make up a simple example on the spot? =)

thanks,
-Brent