Yesod: embedding the output of a route in hamlet
15 Oct
2010
15 Oct
'10
1:28 a.m.
Is it possible, without using AJAX, to easily embed the output of a route in Hamlet? For instance: getItemDataR :: String -> Handler RepHtml getItemDataR = defaultLayout $ addBody [$hamlet| .... getAllItemsR :: Handler RepHtml getAllItemsR = defaultLayout $ addBody [$hamlet| $forall ls i ^ItemDataR.i^ where ls = ["a","b","c"] something like that? Thanks, Max
5759
Age (days ago)
5759
Last active (days ago)
0 comments
1 participants
participants (1)
-
Max Cantor