Re: Annotation for unfolding wanted

2007-08-01 Thread Georg Martius
specify such a requirement, while violating it emits an > | error. > > What does it mean to say "the compiler unrolls it to a loop". If GHC sees > a tail recursive function, it certainly compiles it to a loop! (But that's > not called "unrolling".) >

Re: Annotation for unfolding wanted

2007-07-31 Thread Georg Martius
Hi Simon, thanks for the answer! I see why inlining is not a good idea, but why is it not unfolded. I mean we don't need any true recursion if the function is tail-recursive or am I mistaken? However my point was more on a semantic point of view: If I write a function in a recursive way, but ac

Annotation for unfolding wanted

2007-07-30 Thread Georg Martius
> (drop (index+len) haystack, index + len) Nothing -> ([],0) Regards! Georg -- Georg Martius, Tel: +49 177 6413311 - --- http://www.flexman.homeip.net -- pgpBBQgLBloc8.pgp Description: PGP signature ___

*****SPAM***** Annotation for unfolding wanted

2007-07-29 Thread Georg Martius
Spam detection software, running on the system "h7568.serverkompetenz.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of

*****SPAM***** Annotation for unfolding wanted

2007-07-28 Thread Georg Martius
Spam detection software, running on the system "h7568.serverkompetenz.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of

Re: wx library trouble

2005-04-21 Thread Georg Martius
xcWakeUpIdle is defined in libwxc-gtk2.5.2-0.9.so. Karl M. Syring ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- Georg Martius, Tel: (+49 34297) 89434

Re: ghc-cvs-snapshot with wxHaskell

2005-02-17 Thread Georg Martius
w it works fine with ghc 6.2 and 6.4. The patches are attached. Cheers, Georg On Thu, 17 Feb 2005 17:04:13 -, Simon Marlow <[EMAIL PROTECTED]> wrote: On 17 February 2005 16:25, Georg Martius wrote: Another bug in ghc! /usr/bin/ghc -M wxcore/src/Graphics/UI/WXCore/WxcClassTypes.hs \ -iou

Re: ghc-cvs-snapshot with wxHaskell

2005-02-17 Thread Georg Martius
anyway? It would make obsolete so many problems IMO. Cheers, Georg -- Georg Martius, Tel: (+49 34297) 89434 --- http://www.flexman.homeip.net - ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell

Re: ghc-cvs-snapshot with wxHaskell

2005-02-17 Thread Georg Martius
ohi dir/filename.hi is not reflected in the dependencies. I tried: ghc -M -odir out -ohi out/A.hi A.hs but nothing changed. Simon?? Thanks again for your bug fixing, -- Daan. -- Georg Martius, Tel: (+49 34297) 89434 --- http://www.flexman.homeip.net - makefile.lib.dif

Re: ghc-cvs-snapshot with wxHaskell

2005-02-17 Thread Georg Martius
On Thu, 17 Feb 2005 14:48:11 +0100, Daan Leijen <[EMAIL PROTECTED]> wrote: Georg Martius wrote: Hi, Patrick and I found some answers to the questions/problems we encountered. Finally got the thing to work. (patches appended) Great! I have a possible fix: add -odir out/... to the call of

Re: ghc-cvs-snapshot with wxHaskell

2005-02-17 Thread Georg Martius
How can ghc forget the compiled stuff? The objects are definitely there, so there is no need to recompile WX.o, ... @Daan: I tried to delete the dependency wx from the install rule of the makefile but that doesn't matter. I would like to install it by myself to see if the lib is working. Do

Re: Timing Functions

2005-01-18 Thread Georg Martius
| otherwise = return (()) Ideas? Again, many thanks, -- Bill Wood [EMAIL PROTECTED] ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- Georg Mart

Re: Timing Functions

2005-01-17 Thread Georg Martius
s complexity is exponential in its arg. I'm using GHC 6.0.1 under Mandrake 9.1 on a 1.8 GHz Pentium box with 256MB RAM. Any idea where I'm going wrong? -- Bill Wood [EMAIL PROTECTED] -- Georg Martius, Tel: (+49 34297) 89434 --- http://www.flexman.homeip.net - _

Re: deriving...

2004-10-20 Thread Georg Martius
On Tue, 19 Oct 2004 15:33:25 +0100, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote: Thanks to those who responded to this thread about 'deriving'. My current thoughts are: * I'd be happy to add the ability to separate a 'deriving' clause from its data type declaration, if we can agree syntax