Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在持久化Postgresql模块中使用logFunc和OpenSimpleCon?_Postgresql_Haskell_Ghci - Fatal编程技术网

如何在持久化Postgresql模块中使用logFunc和OpenSimpleCon?

如何在持久化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

我正在学习Yesod,并在ghci中寻找postgresql的使用示例


pcon您可以使用它的最简单的实现
\\\\\\\\\\\\\\>return()
,即忽略所有参数而不执行任何操作。有关正在发生的事情的更多详细信息,请查看

pcon <- openSimpleConn con
pcon <- openSimpleConn runStdoutLoggingT con
<interactive>:22:9: Not in scope: ‘runStdoutLoggingT’