Hello Simon, Thursday, February 23, 2006, 3:35:51 PM, you wrote:
>> What I would really like is a syntax to statically construct an array, >> without having to compute it from a list. I'm not sure that even >> Template Haskell can help here, since there is no normal form for it to >> translate to. SM> Happy & Alex use the hack of encoding static arrays as strings and using SM> peek to access the data at runtime, FWIW. this can be accomplished using TH and ForeignArray constructed from string constant ("..."#) -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell