6 ms·
Cool! I have a similar project, based on lift's CssSel's (which are sort of based on the jquery syntax): https://github.com/tych0/hquery https://github.com/tych
by tych0 13y ago
Cool! I have a similar project, based on lift's CssSel's (which are sort of based on the jquery syntax): https://github.com/tych0/hquery https://github.com/tych0/hquery
I've been playing around with making a DSL vs. using string based selectors, and I've had little success coming up with something sensible. Have you thought about this at all?
- friendly_chap 13y agoI will check your repo too. If you have problems due to similar naming let me know and I will change it. Regarding the selector DSLs, I also went with the string solution, however I translate all selectors to a recursive ADT which could be used directly. Maybe we should unite our powers ;)
- tych0 13y agoNah, no issues with naming, mine was just a pet project to pick up a bit of haskell. R.E. uniting forces, yeah! I looked through your code a bit, and it looks like we have the same underlying idea (yours seems a bit less convoluted than mine, though :-). I'm not really actively using hquery for anything more than a static site generator I wrote with it, but I wouldn't mind spending a few more hours/week on haskell code.
- friendly_chap 13y agoSeems like we are on the same page, I also test drived this library with a static site generator =). I was really surprised that there are no more templating languages for Haskell given the availability of the mighty parsec. I am following you on github, stay in touch.