我是yesod的初学者。 我正在尝试添加一个" / designmulti / key / #Int / name / #String/ finished / #Bool PutDesignMultiR PUT"在yesod的routes文件中,但收到错误:
Foundation.hs:46:1:
No instance for (PathPiece Bool)
arising from a use of `toPathPiece'
Possible fix: add an instance declaration for (PathPiece Bool)
这是否意味着yesod仅支持Int和String,但不支持Bool? 怎么解决? 任何提示将不胜感激! 感谢。