首页 > 解决方案 > 找不到模块“Text.Parsec.Number”

问题描述

(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
  | ^^^^^^^^^^^^^^^^^^^^^^^^^

parsec3.1.13,但是Text.Parsec.Number找不到模块

标签: haskellparsec

解决方案


中没有Text.Parsec.Numberparsec但有来自包Text.Parsec.Number的副本。Text.ParserCombinators.Parsec.Numberparsec-number

关联


推荐阅读