Re: [Haskell-cafe] Implementing a New primop

2011-10-20 Thread Peter Wortmann
Have you tried rebuilding GHC completely after the change? I tried your change and the error went away after I rebuilt from scratch. The build system probably just didn't pick up all files that needed rebuilding. Might be worth reporting? Not sure. Greetings, Peter Wortmann

[Haskell-cafe] Implementing a New primop

2011-10-14 Thread Paul Monday
Alright, I wandered through some primtype issues, but I'm having another odd problem as I try to define my own primop. I've followed what the various wiki pages have to offer (primarily http://hackage.haskell.org/trac/ghc/wiki/AddingNewPrimitiveOperations and

Re: [Haskell-cafe] Implementing a New primop

2011-10-14 Thread Antoine Latter
Hi Paul, The ghc-users list might get you a quicker response to this sort of question. Maybe a good start would be to give us a listing of which files you've modified so far. Antoine On Fri, Oct 14, 2011 at 4:49 PM, Paul Monday paul.mon...@parsci.com wrote: Alright, I wandered through some

Re: [Haskell-cafe] Implementing a New primop

2011-10-14 Thread Paul Monday
I didn't know about glasgow-haskell-users, thanks! The files and their modifications are below, I was hoping this was going to be just a quick experiment (copying someone else's primop) … the web references identify only the two files to add an inline primop ...

Re: [Haskell-cafe] Implementing a New primop

2011-10-14 Thread Erik de Castro Lopo
Paul Monday wrote: I didn't know about glasgow-haskell-users, thanks! Actually the ghc-cvs list may be even better. Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/

Re: [Haskell-cafe] Implementing a New primop

2011-10-14 Thread Antoine Latter
Perhaps! I wasn't sure if it was too noisy to be noticed. On Oct 14, 2011 5:54 PM, Erik de Castro Lopo mle...@mega-nerd.com wrote: Paul Monday wrote: I didn't know about glasgow-haskell-users, thanks! Actually the ghc-cvs list may be even better. Cheers, Erik --