6
는 내가 Yesod 프로젝트의 첫 페이지에이 코드를 발견
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
언어 기능이 $, 얻을
[$parseRoutes|/ Home GET|]
및
[$hamlet|%h1 Hello World|]
에 사용되는 어떤
|,/및 % 기호가 작동하고 무엇을 상징 할 할 ?