I have been trying to find in the Haskell reference the use of this:
getHomeR = defaultLayout $ do
setTitle "My Awesome Site"
$(widgetFile "home")
Specifically:
$(widgetFile "home")
I know that the $ operator gives precedence to whatever is to the right of it, but I have not been able to comprehend the usage of $(). Anyone?