On 17 June 2011 16:49, Haisheng Wu <freizl@gmail.com> wrote:
Actually I have one question that what's the reason it has 'special' (a better word?) style at programming CSS and JavaScripts? Seems like no other frameworks doing that? (Correct me if I am wrong)
You don't really need a framework to do CSS https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Style.hs <https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Style.hs>or JavaScript https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Script.hs <https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Script.hs>in a first-class Haskell DSL. The benefit is that you can manipulate both at a kind of macro level, and benefit from Haskell's type system if you wish to make your JavaScript or CSS type-safe.