我試圖創建一個模型就像一個持久類型: MyModel
something Text
somethingElse [Int]
,我得到一個錯誤: Illegal type constructor or class name: `[Int]' When splicing a TH declaration: data MyModel = MyModel {myModelSomet
我正在開發一個使用wai-handler-devel來運行服務器的Yesod框架上的web應用程序。 A pacman -Syu(在Arch Linux上)將ghc從7.0.2升級到7.0.3,現在服務器引發異常。 $ wai-handler-devel 3000 App.Controller withAppSimple
Attempting to interpret your app...
更新:運行GHC-PKG檢查報告: ~: ghc-pkg check
WARNING: cache is out of date: /Library/Frameworks/GHC.framework/Versions/7.0.3i386/usr/lib/ghc-7.0.3/package.conf.d/package.cache
use 'ghc-pkg recache' to fix