From: Bulat Ziganshin <[EMAIL PROTECTED]>
Reply-To: Bulat Ziganshin <[EMAIL PROTECTED]>
To: "Branimir Maksimovic" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED],[email protected] Subject: Re[2]: [Haskell-cafe] Differences in optimisiation with interactive and compiled mo
Date: Sun, 11 Dec 2005 00:42:24 +0300

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==y  =  start_from xs ys
start_from [] str                =  Just str
start_from _  _                  =  Nothing



This one is fastest,not much, but is.
So here it goes: your version, then Daniel's, then mine.

Greetings, Bane.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to