I tried compiling, but I got a linker error: /usr/lib/ghc-6.4.2/libHSrts.a(Main.o): In function `main': (.text+0x2): undefined reference to `__stginit_ZCMain' /usr/lib/ghc-6.4.2/libHSrts.a(Main.o): In function `main': (.text+0x16): undefined reference to `ZCMain_main_closure' collect2: ld returned 1 exit status
--Grady On 12/30/06, Bulat Ziganshin <[EMAIL PROTECTED]> wrote:
Hello Grady, Friday, December 29, 2006, 11:00:42 PM, you wrote: > I've performed some experiments in GHCi, and it looks like even for a > get essentially the same execution times no matter which of the > definitions below I use you should compare ghc -O2 times, ghci is very different beast. and even such test don't show actual results - as i already said, ghc automatically inlines only small functions -- Best regards, Bulat mailto:[EMAIL PROTECTED]
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe