(octopus) ➜ src git:(master) ✗ ghc -o solidity-cfg-builder Main.hs
[7 of 9] Compiling CFG.Parsing ( CFG/Parsing.hs, CFG/Parsing.o )
CFG/Parsing.hs:6:1: error:
Could not find module ‘Text.Parsec.Number’
Perhaps you meant
Text.Parsec.Char (from parsec-3.1.13.0)
Text.Parsec.Error (from parsec-3.1.13.0)
Text.Parsec.Expr (from parsec-3.1.13.0)
Use -v to see a list of the files searched for.
|
6 | import Text.Parsec.Number
| ^^^^^^^^^^^^^^^^^^^^^^^^^parsec为3.1.13,但找不到模块Text.Parsec.Number
发布于 2018-12-26 07:56:22
parsec中没有Text.Parsec.Number,但有Text.Parsec.Number,它是parsec-number包中Text.ParserCombinators.Parsec.Number的副本。
Link
https://stackoverflow.com/questions/53918918
复制相似问题