
What is the status on the Hooks proposal/documentation/implementation? I'd like to try it out on a pet project. trac/ghc/wiki/Ghc/Hooks is promising, but I don't know where to find the patch to experiment with it. I get a 404 from https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks-reco..., a link I found in one of Luite's ghc-devs emails. Exciting work! Thanks.

It's https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks.patc...
now
Cheers
- Dan
On 9/23/13, Nicolas Frisby
What is the status on the Hooks proposal/documentation/implementation? I'd like to try it out on a pet project.
trac/ghc/wiki/Ghc/Hooks is promising, but I don't know where to find the patch to experiment with it.
I get a 404 from https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks-reco..., a link I found in one of Luite's ghc-devs emails.
Exciting work! Thanks.
-- Sincerely yours, -- Daniil

I plan on merging the final patch later today, so it'll be available
to play with Real Soon Now.
On Sun, Sep 22, 2013 at 3:52 PM, Daniil Frumin
It's https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks.patc... now
Cheers
- Dan
On 9/23/13, Nicolas Frisby
wrote: What is the status on the Hooks proposal/documentation/implementation? I'd like to try it out on a pet project.
trac/ghc/wiki/Ghc/Hooks is promising, but I don't know where to find the patch to experiment with it.
I get a 404 from https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks-reco..., a link I found in one of Luite's ghc-devs emails.
Exciting work! Thanks.
-- Sincerely yours, -- Daniil _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
-- Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/

I know you have said that before on another today ;)
as for documentation, the patch itself only has some general information,
and since some of them are low level they come with fair warning, obviously
if you mess with compiler pipeline internals you can break thing, and
invariants are not always documented. Should I perhaps add a list of the
hooks to the wiki page, with links to example source code where they're
used, and collect warnings and tips for each hook there?
On Sun, Sep 22, 2013 at 5:04 PM, Austin Seipp
I plan on merging the final patch later today, so it'll be available to play with Real Soon Now.
On Sun, Sep 22, 2013 at 3:52 PM, Daniil Frumin
wrote: It's https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks.patc... now
Cheers
- Dan
On 9/23/13, Nicolas Frisby
wrote: What is the status on the Hooks proposal/documentation/implementation? I'd like to try it out on a pet project.
trac/ghc/wiki/Ghc/Hooks is promising, but I don't know where to find the patch to experiment with it.
I get a 404 from
https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks-reco... ,
a link I found in one of Luite's ghc-devs emails.
Exciting work! Thanks.
-- Sincerely yours, -- Daniil _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
-- Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
participants (4)
-
Austin Seipp
-
Daniil Frumin
-
Luite Stegeman
-
Nicolas Frisby