5
目前我正在使用ihaskell來了解一些圖書館。 IHaskell仍然是危險的,我不能做:是否有隱藏包的ghci冒號命令?
-- 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包裹?
謝謝,不幸的是還沒有實施iHaskell – dsign