Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-11 Thread Daniel Fischer
Am Samstag, 10. Dezember 2005 22:42 schrieb Bulat Ziganshin: > Hello Branimir, > > Saturday, December 10, 2005, 8:29:09 PM, you wrote: > >>Can you check this version? > > and this: > > replace from to = repl > where repl s | Just remainder <- start_from from s = to ++ repl > remainder repl (c:c

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-10 Thread Branimir Maksimovic
From: Daniel Fischer <[EMAIL PROTECTED]> To: "Branimir Maksimovic" <[EMAIL PROTECTED]> CC: Haskell-Cafe@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo Date: Sat, 10 Dec 2005 23:56:28 +0100 Am Samstag, 10. Dezem

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-10 Thread Daniel Fischer
Am Samstag, 10. Dezember 2005 18:29 schrieb Branimir Maksimovic: > From: Tomasz Zielonka <[EMAIL PROTECTED]> > > >To: Branimir Maksimovic <[EMAIL PROTECTED]> > >CC: [EMAIL PROTECTED], haskell-cafe@haskell.org > >Subject: Re: [Haskell-cafe] Differences in o

Re[2]: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-10 Thread Bulat Ziganshin
Hello Branimir, Saturday, December 10, 2005, 8:29:09 PM, you wrote: >>Can you check this version? and this: replace from to = repl where repl s | Just remainder <- start_from from s = to ++ repl remainder repl (c:cs) = c : repl cs repl [] = [] start_from (x:xs) (y:ys) | x=

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-10 Thread Lennart Augustsson
@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo Date: Sat, 10 Dec 2005 18:14:58 +0100 On Sat, Dec 10, 2005 at 04:14:20PM +, Branimir Maksimovic wrote: > Nice code. But incorrect. I have broken it when refactoring :-/ Here is the

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-10 Thread Branimir Maksimovic
From: Tomasz Zielonka <[EMAIL PROTECTED]> To: Branimir Maksimovic <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo Date: Sat, 10 Dec 2005 18:14:58 +0100 On Sat, Dec 10

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-10 Thread Tomasz Zielonka
On Sat, Dec 10, 2005 at 04:14:20PM +, Branimir Maksimovic wrote: > Nice code. But incorrect. I have broken it when refactoring :-/ Here is the correct version: replace2 src dst = repl where repl input | src `isPrefixOf` input = dst ++ repl (drop (length src) input) repl (x:xs) = x

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-10 Thread Branimir Maksimovic
From: Tomasz Zielonka <[EMAIL PROTECTED]> To: Henning Thielemann <[EMAIL PROTECTED]> CC: Branimir Maksimovic <[EMAIL PROTECTED]>, haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mode Date: Sat, 10 Dec 2005 15:36:57 +0100 On Sat

Re[2]: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-09 Thread Bulat Ziganshin
Hello Branimir, Friday, December 09, 2005, 12:24:16 PM, you wrote: BM> Just to say my algorithm takes some optimisation opportunities. look at http://haskell.org/hawiki/RunTimeCompilation -- Best regards, Bulatmailto:[EMAIL PROTECTED] ___

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-09 Thread Branimir Maksimovic
From: Henning Thielemann <[EMAIL PROTECTED]> To: Branimir Maksimovic <[EMAIL PROTECTED]> CC: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo Date: Fri, 9 Dec 2005 09:23:53 +0100 (MET) On Thu, 8 Dec 20

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-09 Thread Henning Thielemann
On Thu, 8 Dec 2005, Branimir Maksimovic wrote: From: Henning Thielemann <[EMAIL PROTECTED]> To: Branimir Maksimovic <[EMAIL PROTECTED]> CC: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mode Date: Thu, 8 Dec 2005 18:38:45 +0100

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-08 Thread Branimir Maksimovic
From: Cale Gibbard <[EMAIL PROTECTED]> To: Branimir Maksimovic <[EMAIL PROTECTED]> CC: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mode Date: Thu, 8 Dec 2005 09:26:11 -0500 GHCi does things with optimisations off. Note the

Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo

2005-12-08 Thread Branimir Maksimovic
From: Henning Thielemann <[EMAIL PROTECTED]> To: Branimir Maksimovic <[EMAIL PROTECTED]> CC: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Differences in optimisiation with interactive and compiled mode Date: Thu, 8 Dec 2005 18:38:45 +0100 (MET) On Thu, 8 Dec 2005, Branimir Maksimov