Twinside / Webrexp

Document query utility, mixing CSS Selector syntax and regular expressions.
12 stars 0 forks source link

library interface #3

Closed gregwebs closed 13 years ago

gregwebs commented 13 years ago

First of all, this looks wonderful! I would like to use it as a library. i am not sure if that is possible now. The documentation does not mention a library interface, and the library seems to just export an eval function that returns a bool. I would like a library function that mimics command line functionality:

webrexp :: Text -> Webrexp -> Text
Twinside commented 13 years ago

Noted, it should be possible, and I have to document it alongside the webrexp quasiquotation.