-
Notifications
You must be signed in to change notification settings - Fork 714
Closed
Description
cabal: Entering directory '/tmp/cabal-tmp-3198/ghc-paths-0.1.0.9'
[1 of 1] Compiling Main ( /tmp/cabal-tmp-3198/ghc-paths-0.1.0.9/dist/setup/setup.hs, /tmp/cabal-tmp-3198/ghc-paths-0.1.0.9/dist/setup/Main.o )
/tmp/cabal-tmp-3198/ghc-paths-0.1.0.9/dist/setup/setup.hs:65:7: error:
• Couldn't match type ‘(Maybe a0, [a1])’
with ‘[(ComponentName, BuildInfo)]’
Expected type: IO HookedBuildInfo
Actual type: IO (Maybe a0, [a1])
• In a stmt of a 'do' block: return (Just (read str), [])
In the expression:
do { str <- readFile file;
return (Just (read str), []) }
In an equation for ‘readHook’:
readHook _ _
= do { str <- readFile file;
return (Just (read str), []) }