Hello Bjorn, Monday, October 17, 2005, 11:48:10 AM, you wrote:
BB> You could use unsafePerformIO, if it doesn't make you feel dirty. BB> Here's what I do to achieve sharing of strings when parsing large files: BB> It seems to work, but if any GHC gurus notice any problems, please let BB> me know. OT: This one feels pretty fast, does anyone have a more BB> efficient implementation? something like it is done in ghc compiler itself :))) see FastString.lhs -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
