[Haskell-cafe] performance question

Nicolas Trangez nicolas at incubaid.com
Wed Feb 13 17:43:13 CET 2013


On Wed, 2013-02-13 at 08:39 -0800, David Thomas wrote:
> One way in which regexps are "foreign to Haskell-think" is that, if
> they
> break, they generally break at run-time.  This could be ameliorated
> with
> template haskell

Care to elaborate on the "ameliorate using TH" part? I figure regexes
would be mostly used to parse some runtime-provided string, so how could
compile-TH provide any help?

Nicolas





More information about the Haskell-Cafe mailing list