
Language-haskell-extract contains some useful helper functions on top of template haskell. functionextractor extracts all functions after a regexp-pattern.
> foo = "test" > boo = "testing" > bar = $(functionextractor "oo$")
will automagically extract the functions ending with "oo" such as
> bar = [("foo",foo), ("boo",boo)]
this can be useful if you wish to extract all functions beginning with test (for a test-framework) or all functions beginning with wc (for a web service).
functionextractormap works like functionsextractor but applies a function over all function-pairs. this functions is useful if the common return type of the functions is a type class.
this package contains the normal library files.