I found this code on the first page of the Yesod project:
import Yesod data HelloWorld = HelloWorld mkYesod "HelloWorld" [$parseRoutes|/ Home GET|] instance Yesod HelloWorld where approot _ = "" getHome = applyLayout [$hamlet|%h1 Hello World|] main = toWaiApp HelloWorld >>= basicHandler 3000
What language functions are used in [$parseRoutes|/ Home GET|] and [$hamlet|%h1 Hello World|] to get the characters $, |, / and% and what do the characters do?
syntax web-applications haskell yesod template-haskell
qomp
source share