{-# LANGUAGE DataKinds, ExistentialQuantification, KindSignatures #-}
import Data.Proxy
data Type t= forall (a :: t). Type (Proxy a)
給出了錯誤 Type variable ‘t’ used in a kind
In the kind ‘t’
In th
我在Yesod中使用QuasiQuotations,並且一切正常。但我的文件變得非常大,不好看。另外,我的TextEditor不會正確地突出顯示此語法。這就是爲什麼分割我的文件是這樣的: getHomeR :: Handler Html
getHomeR = do
webSockets chatApp
defaultLayout $ do
$(luciusFile