-O,(NO)INLINE

1998-12-17 Thread S.D.Mechveliani
Dear ghc experts, I need an advice on -O, INLINE, NOINLINE usage for ghc-4.01 and highers. My program contains many short definitions, like, say, bound = 2^20 :: Integer lc :: C a = Pol a - a lc (Pol ms _) = fst (head ms) - also many of them are the class operation

RE: -fglasgow-exts and module exports with GHC 4

1998-12-17 Thread Simon Marlow
I have discovered a bug in the handling of hi files in the presence of -fglasgow-exts. Below is a module, MyModule.hs, which uses Word internally but exports a function of type Integer-Integer. There is also a Main.hs module which uses this function, but of course does not import

-fglasgow-exts and module exports with GHC 4

1998-12-17 Thread Keith Wansbrough
I have discovered a bug in the handling of hi files in the presence of -fglasgow-exts. Below is a module, MyModule.hs, which uses Word internally but exports a function of type Integer-Integer. There is also a Main.hs module which uses this function, but of course does not import Word since

GHC egcs

1998-12-17 Thread Manuel M. T. Chakravarty
A while ago, I read that GHC is supposed to work with egcs. However, GHC 3.02 doesn't work for me with egcs 1.1b. The latter complaint about illegally spilled registers when compiling some module with -fglasgow-exts, and an attempt to compile 4.01 from source produced a compiler that couldn't

problems with ihc...

1998-12-17 Thread Federico C. Repond
Hi,I found the following errors when I tried to compile the stuff generated by de ihc: bash$ make ../../ihc -fno-export-list -fcom -fcoalesce-methods -ftreat-importlibs-as-import s -foleview-input -fno-gen-binary-interface -fenum-instances -fno-gen-enum-marsh allers -i../../imports Cmax101.idl

instance bug(?)

1998-12-17 Thread Jeff Lewis
Using 4.01, outa the box, with -fglasgow-exts. I get the following complaint: Main.hs:25: No instance for `Probe (Trans DLX_Op (DLX_Cell DLXReg Int))' arising from use of `processor' at Main.hs:25 Now, scanning the relevant .hi files, I have: instance __forall [_a]

RE: -O,(NO)INLINE

1998-12-17 Thread Simon Marlow
I need an advice on -O, INLINE, NOINLINE usage for ghc-4.01 and highers. My program contains many short definitions, like, say, bound = 2^20 :: Integer lc :: C a = Pol a - a lc (Pol ms _) = fst (head ms) - also many of them are the class operation definitions.

-O, INLINE. Thanks.

1998-12-17 Thread S.D.Mechveliani
I thank Simon Marlow [EMAIL PROTECTED] for the help on my request I need an advice on -O, INLINE, NOINLINE usage for ghc-4.01 ... AlsoAnd it looks like ghc-4.01 -c -O ignores NOINLINE. occured my mistake. I am sorry. I compiled by ghc -c -O f = 'b' prefixed with {-# NOINLINE f

Do you depend on Hugs/Haskell? Help out!

1998-12-17 Thread Tim Sheard
Dear Haskell user, A group of Haskell supporters is trying to raise money to support the further development and maintenance of the Hugs interpreter and its integration with the GHC run-time system. The idea is not to ask for money to do research, or to add zillions of new features and