Inlining question

Donald Bruce Stewart dons at
Tue Apr 20 11:39:36 EDT 2004

> On Monday 19 Apr 2004 11:27 am, Adrian Hey wrote:
> > Perhaps I was doing something stupid.
> Yep, I must of been doing something stupid. I've just tried it again and I
> do get different object files. In fact inlinining seems to give me smaller
> object files (not that I'm complaining :-).
> Sorry everybody. I can't think what I must have done first time around
> (maybe I spelled INLINE wrong or forgot to save the file I was editing
> of something).

It is sometimes very slightly annoying that misspelling a pragma will
mean that it is silently ignored. Oh well. I've typed:

        {-# OPITONS -fglasgow-exts #-}
        {- # OPTIONS -fglasgow-exts #-}

many times. I usually expect that GHC knows what I'm thinking, and am
surprised when it doesn't get it right ;)

-- Don

More information about the Glasgow-haskell-users mailing list