我试图判断两个文件是否可能相同,发现我可以通过以下StackOverflow线程在Haskell中进行MD5哈希处理:Compute MD5 digest of file in Haskell
当我尝试安装pureMD5时,出现错误消息:
$ cabal install --lib pureMD5
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: base-4.12.0.0/installed-4.1... (user goal)
[__1] trying: ghc-8.6.5/installed-8.6... (user goal)
[__2] next goal: process (user goal)
[__2] rejecting: process-1.6.6.0 (conflict: ghc =>
process==1.6.5.0/installed-1.6...)
[__2] rejecting: process-1.6.5.1,process-1.6.5.0/installed-1.6...,process-1.6.5.0,process-1.6.4.0,process-1.6.3.0,process-1.6.2.0,process-1.6.1.0,process-1.6.0.0,process-1.5.0.0,process-1.4.3.0,process-1.4.2.0,process-1.4.1.0,process-1.4.0.0,process-1.3.0.0,process-1.2.3.0,process-1.2.2.0,process-1.2.1.0,process-1.2.0.0,process-1.1.0.2,process-1.1.0.1,process-1.1.0.0,process-1.0.1.5,process-1.0.1.4,process-1.0.1.3,process-1.0.1.2,process-1.0.1.1,process-1.0.0.0 (constraint from user target requires ==1.6.6.0)
[__2] fail (backjumping,conflict set: ghc,process)
After searching the rest of the dependency tree exhaustively,these were the
goals I've had most trouble fulfilling: process,base,ghc
我不确定从这里去哪里,我是Haskell的新手。