Open for testing: new Hamlet syntax

Hey all, I've just pushed the first commit that includes support for the angle-bracket syntax in Hamlet. Anyone who's interested, please take a look at the code[1] and try to figure out what doesn't work yet. I'm sure there are a lot of corner cases I have not yet taken into account, so if you find something that doesn't produce the output you expected, please let me know so I can add a test case for it and try to get it fixed. (Yes, I code Hamlet with TDD.) On a related note for those interested, I've started work on a lot of new major versions for packages, including wai, wai-extra, persistent and yesod. One of the things I'm considering for this release of Yesod (0.7, not a 1.0 yet) is to move some of the functionality into separate packages. In particular, I think forms, crud and json will all be put in their own packages. The only change to persistent is migrating from MonadInvertIO to MonadPeelIO, which is a much more well designed approach. wai will most likely be seeing a major change in how the underlying mechanism works to make it more efficient (based on blaze-builder), more standard (based on enumerator) and more generic. This last point might make the interface more confusing, but I think it is worth it overall. The new version of Yesod will be based on this version of WAI, and I plan to simultaneously release new versions of related packages, like wai-handler-fastcgi or yesod-auth. Also, last call on new Yesod web page design. If no one volunteers, I'm just going to grab the standard Haskell color scheme and get to work on it myself. Michael [1] https://github.com/snoyberg/hamlet

Its a bit off subject, and I hate to ask for more since you've given us so much already, but the changelogs on github are a bit out of date. How would you feel about possibly putting changelogs on the wiki. this way they could benefit from crowdsourcing and also serve as sort of a roadmap for future releases? just my 2¢. max On Dec 17, 2010, at 5:07 AM, Michael Snoyman wrote:
Hey all,
I've just pushed the first commit that includes support for the angle-bracket syntax in Hamlet. Anyone who's interested, please take a look at the code[1] and try to figure out what doesn't work yet. I'm sure there are a lot of corner cases I have not yet taken into account, so if you find something that doesn't produce the output you expected, please let me know so I can add a test case for it and try to get it fixed. (Yes, I code Hamlet with TDD.)
On a related note for those interested, I've started work on a lot of new major versions for packages, including wai, wai-extra, persistent and yesod. One of the things I'm considering for this release of Yesod (0.7, not a 1.0 yet) is to move some of the functionality into separate packages. In particular, I think forms, crud and json will all be put in their own packages. The only change to persistent is migrating from MonadInvertIO to MonadPeelIO, which is a much more well designed approach.
wai will most likely be seeing a major change in how the underlying mechanism works to make it more efficient (based on blaze-builder), more standard (based on enumerator) and more generic. This last point might make the interface more confusing, but I think it is worth it overall. The new version of Yesod will be based on this version of WAI, and I plan to simultaneously release new versions of related packages, like wai-handler-fastcgi or yesod-auth.
Also, last call on new Yesod web page design. If no one volunteers, I'm just going to grab the standard Haskell color scheme and get to work on it myself.
Michael
[1] https://github.com/snoyberg/hamlet
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

On Sat, Dec 18, 2010 at 9:06 AM, Max Cantor
Its a bit off subject, and I hate to ask for more since you've given us so much already, but the changelogs on github are a bit out of date. How would you feel about possibly putting changelogs on the wiki. this way they could benefit from crowdsourcing and also serve as sort of a roadmap for future releases?
just my 2¢.
Wait... I put changelogs on github? (Goes and checks...) Wow, I completely forgot about that, thank you for reminding me. You're right, the Yesod wiki is definitely the place for that. If someone wants to volunteer and get things started on the wiki, I'll try and remember at each release to update the changelogs. Thanks for bringing this to my attention. Michael
participants (2)
-
Max Cantor
-
Michael Snoyman