Guest User

Untitled

a guest
Aug 10th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. When giving the cabal simple build system a custom build hook, why are there two PackageDescription structures?
  2. main = defaultMainWithHooks simpleUserHooks { buildHook = myBuildHook }
  3.  
  4. myBuildHook :: PackageDescription -> LocalBuildInfo -> UserHooks -> BuildFlags -> IO ()
Add Comment
Please, Sign In to add comment