News for hackers. Stuff that matters.
Re:Yesod 1.0 - a robust, friendly, high performance web fram... by ique on Monday April 09, 2012 @03:58PM (#3818911)
My problem with Hamlet is that using it would cause a lot of unneeded pains and errors. I have a team of consultants doing all HTML coding, and they've been doing HTML for years (and are thus accustomed to writing pure HTML). If they just happen to close a single tag anywhere in any page, the application crashes.

If that is robust, then I'm not sure what definition you are using.

Re:Yesod 1.0 - a robust, friendly, high performance web fram... by Vagif-Verdi on Monday April 09, 2012 @10:30PM (#3820384)
I'm not sure where you get that info. You certainly can close tags in hamlet. (I often do). You just do not have to.
Re:Yesod 1.0 - a robust, friendly, high performance web fram... by ique on Tuesday April 10, 2012 @04:08AM (#3821264)
I'm getting the info from testing. I tried using Yesod for a while but kept getting this error:

    "A tag name may not contain a slash. Perhaps you have a closing tag in your HTML."
Which you can find in the source for the parser as well:

    if '/' `elem` tn
          then fail "A tag name may not contain a slash. Perhaps you have a closing tag in your HTML."
Maybe there's a way to work around this so you can use closed tags, but it sure wasn't obvious.