如何在持久化Postgresql模块中使用logFunc和OpenSimpleCon?
我正在学习Yesod,并在ghci中寻找postgresql的使用示例如何在持久化Postgresql模块中使用logFunc和OpenSimpleCon?,postgresql,haskell,ghci,Postgresql,Haskell,Ghci,我正在学习Yesod,并在ghci中寻找postgresql的使用示例 pcon您可以使用它的最简单的实现\\\\\\\\\\\\\\>return(),即忽略所有参数而不执行任何操作。有关正在发生的事情的更多详细信息,请查看 pcon <- openSimpleConn con pcon <- openSimpleConn runStdoutLoggingT con <interactive>:22:9: Not in scope: ‘runStdoutLoggi
pcon您可以使用它的最简单的实现\\\\\\\\\\\\\\>return()
,即忽略所有参数而不执行任何操作。有关正在发生的事情的更多详细信息,请查看
pcon <- openSimpleConn con
pcon <- openSimpleConn runStdoutLoggingT con
<interactive>:22:9: Not in scope: ‘runStdoutLoggingT’