我正在尝试使用 : 在 Windows 上安装 hlint cabal install hlint
,但出现以下错误:
Preprocessing executable 'hlint' for hlint-1.8.50..
Building executable 'hlint' for hlint-1.8.50..
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Apply
CmdLine
HLint
HSE.All
HSE.Bracket
HSE.Evaluate
HSE.Match
HSE.NameMatch
HSE.Type
HSE.Util
Hint.All
Hint.Bracket
Hint.Duplicate
Hint.Extensions
Hint.Import
Hint.Lambda
Hint.List
Hint.ListRec
Hint.Match
Hint.Monad
Hint.Naming
Hint.Pragma
Hint.Structure
Hint.Type
Hint.Util
Idea
Language.Haskell.HLint
Parallel
Proof
Report
Settings
Test
Util
[ 1 of 35] Compiling HSE.Type ( src\HSE\Type.hs, dist\build\hlint\hlint-tmp\HSE\Type.o )
src\HSE\Type.hs:6:1: error:
Could not find module `Language.Haskell.Exts.Annotated'
Perhaps you meant
Language.Haskell.Exts.Syntax (from haskell-src-exts-1.23.1)
Language.Haskell.Exts.Pretty (from haskell-src-exts-1.23.1)
Language.Haskell.Exts.Build (from haskell-src-exts-1.23.1)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
6 | import Language.Haskell.Exts.Annotated as Export hiding (parse, loc, parseFile, paren, Assoc(..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal.exe: Failed to build hlint-1.8.50. See the build log above for details.
Glorious Glasgow Haskell 编译系统,版本 9.2.1,hlint-1.8.50