경고를 설치 오류 : 여기에 새로운 하스켈 사용자 내가 하스켈 플랫폼 2014.2.0.0에 Hoogle의 CLI 버전을 설치하려고 해요hoogle 4.2.34는 "예상과 일치 할 수 없습니다 유형 'CompilerId'"W Mac에서
을 Mac OS X Maverick의 경우 64 비트입니다. ghcjs 지원 및 ghc 7.8.3을 사용하여 cabal 1.21.0.0을 설치했습니다. https://github.com/ndmitchell/hoogle/issues/84 :
다음은 $cabal install hoogle
[25 of 75] Compiling Web.Page (src/Web/Page.hs, dist/build/hoogle/hoogle-tmp/Web/Page.o)
[26 of 75] Compiling Recipe.Haddock (src/Recipe/Haddock.hs, dist/build/hoogle/hoogle-tmp/Recipe/Haddock.o)
[27 of 75] Compiling Recipe.Cabal (src/Recipe/Cabal.hs, dist/build/hoogle/hoogle-tmp/Recipe/Cabal.o)
src/Recipe/Cabal.hs:33:74:
Couldn't match expected type ‘CompilerId’
with actual type ‘Maybe CompilerId -> CompilerId’
Probable cause: ‘comp’ is applied to too few arguments
In the fourth argument of ‘finalizePackageDescription’, namely
‘comp’
In the expression:
finalizePackageDescription [] (const True) plat comp [] pkg
cabal: Error: some packages failed to install:
hoogle-4.2.34 failed during the building phase. The exception was:
ExitFailure 1
컴파일시 타입 오류로 인해 'Y-a'와 'Z'에 대해 'X'를 빌드하고 있음을 의미하지만 'Z' 자체는'Y-b '를 사용합니다. 그런 갈등이 있습니까? ('ghc-pkg list'와 패키지의 여러 버전 검색) – user2407038