Skip to content

Instantly share code, notes, and snippets.

@osa1
Created March 28, 2014 08:55
Show Gist options
  • Save osa1/9828268 to your computer and use it in GitHub Desktop.
Save osa1/9828268 to your computer and use it in GitHub Desktop.
src/MinCaml/Codegen/C.hs:410:48:
Found hole ‘_’ with type: [String]
Relevant bindings include
body' :: Maybe [CStat] (bound at src/MinCaml/Codegen/C.hs:409:7)
envTy :: String (bound at src/MinCaml/Codegen/C.hs:408:7)
argTys :: [CType] (bound at src/MinCaml/Codegen/C.hs:407:7)
retty :: CType (bound at src/MinCaml/Codegen/C.hs:406:7)
replaceFvs :: String -> [CStat] -> [CStat]
(bound at src/MinCaml/Codegen/C.hs:421:5)
replaceFvs' :: [Char] -> CExpr -> CExpr
(bound at src/MinCaml/Codegen/C.hs:423:5)
(Some bindings suppressed; use -fmax-relevant-binds=N or -fno-max-relevant-binds)
In the second argument of ‘zip’, namely ‘_’
In the first argument of ‘(++)’, namely ‘zip argTys _’
In the third argument of ‘CFunDecl’, namely
‘(zip argTys _ ++ [(CPtr (CTypeName envTy), "__env")])’
Failed to install minCaml-0.1.0.0
cabal: Error: some packages failed to install:
minCaml-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment