Re: [Hackage] #101: Rejig the names of hooks provided by Cabal

#101: Rejig the names of hooks provided by Cabal -----------------------------+---------------------------------------------- Reporter: igloo@earth.li | Owner: ijones Type: enhancement | Status: closed Priority: high | Milestone: Component: Cabal library | Version: 1.1.6 Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.6 | Platform: Linux -----------------------------+---------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: We currently export: * `emptyUserHooks` which is almost useless. * `simpleUserHooks` which really is the default - it's what `defaultMain` uses. * `defaultUserHooks` which is not the default. It is now deprecated. * `autoconfUserHooks` which is what defaultUserHooks used to be but with a sensible name and slightly saner behavior. In principle UserHooks could be an instance of `Monoid`. `mempty` would be `emptyUserHooks` and `mappend` could compose actions using `>>`. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/101#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage