Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在处理 haskell 程序时,我最喜欢做的事情之一是使用 ghci :t 和 :info 命令来找出程序中的类型错误。
当我在 yesod 中运行玩具程序时,我可以使用它,但我不知道如何在完整的脚手架站点上做到这一点。如果这是错误的处理方式,我理解并愿意接受更好的方法建议。
好吧,这实际上很容易,我现在觉得很傻。
获取包 cabal-ghci 然后加载 Foundation 和 Application 并完成。