Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/firebase/6.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
Haskell 是否有用于隐藏包的ghci冒号命令?_Haskell_Ihaskell - Fatal编程技术网

Haskell 是否有用于隐藏包的ghci冒号命令?

Haskell 是否有用于隐藏包的ghci冒号命令?,haskell,ihaskell,Haskell,Ihaskell,目前,我正在使用ihaskell来了解一些库。IHaskell仍然很危险,我不能: -- This doesn't work: ":ext PackageImports", the kernel hangs -- This doesn't work: "{-# LANGUAGE PackageImports #-}", the kernel hangs import Codec.Crypto.RSA.Pure import qualified "crypto-api" Crypto.Ra

目前,我正在使用ihaskell来了解一些库。IHaskell仍然很危险,我不能:

-- This doesn't work:   ":ext PackageImports", the kernel hangs
-- This doesn't work:   "{-# LANGUAGE PackageImports #-}", the kernel hangs
import Codec.Crypto.RSA.Pure
import qualified "crypto-api" Crypto.Random                                         as CR
import           Control.Monad.CryptoRandom
如果没有“PackageImports”,我会收到一条错误消息:

Ambiguous interface for ‘Crypto.Random’: it was found in multiple packages: crypto-api-0.13.2 cryptonite-0.7
我的问题是,ghci中是否有允许我隐藏cryptonite包的冒号命令?

是的

:set -hide-package cryptonite

谢谢,不幸的是iHaskell还没有实现