I built (in less than a couple of hours) a proof of concept prototype that generates LESS files http://zena.appspot.com/orso obviously there is a huge amount of room for improvement.
Talking about books I would recommend Introduction to Functional Programming 1st edition (Prentice Hall 1988 -- the second, paradoxically, is "spoiled" by Haskell), by Bird and Wadler.
I built (in less than a couple of hours) a proof of concept prototype that generates LESS files http://zena.appspot.com/orso obviously there is a huge amount of room for improvement.
Talking about books I would recommend Introduction to Functional Programming 1st edition (Prentice Hall 1988 -- the second, paradoxically, is "spoiled" by Haskell), by Bird and Wadler.