From ff1ba8fdc6d7f8ad99b8a78feca6c71e030235a9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 4 Feb 2017 13:01:20 -0400 Subject: [PATCH] update --- doc/todo/ditch_yesod.mdwn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/todo/ditch_yesod.mdwn b/doc/todo/ditch_yesod.mdwn index 062ba7ed3b..0c85ab77d2 100644 --- a/doc/todo/ditch_yesod.mdwn +++ b/doc/todo/ditch_yesod.mdwn @@ -24,9 +24,13 @@ fast as hamlet, and pure haskell code. Game plan: 1. Upload a yesod-lucid to hackage. (done) -2. Get servant, lucid, maybe yesod-lucid, packaged in Debian +2. Get servant (done), lucid (done), maybe yesod-lucid, packaged in Debian 3. Start converting individual yesod Handler Html to Handler LucidHtml. This will ditch the hamlet. This is by far the most work, but it can be done incrementally w/o breaking the build. -4. Once all the hamlet is gone, remove the rest of the yesod stuff and +4. Need to find a way to deal with Hamlet widgets that add CS and JS to + the page. Hamlet basically serves as a Writer monad to collect the HTML, + CS, and JS that widgets add to a page, so a replacement for that would + need to be developed. +5. Once all the hamlet is gone, remove the rest of the yesod stuff and re-implement the routing etc with servant.