[Haskell-cafe] Differences in optimisiation with interactive and
tomasz.zielonka at gmail.com
Sat Dec 10 09:24:56 EST 2005
On Thu, Dec 08, 2005 at 06:38:45PM +0100, Henning Thielemann wrote:
> On Thu, 8 Dec 2005, Branimir Maksimovic wrote:
> > program performs search replace on a String
However, it breaks the following nice (but perhaps not useful?) property:
replace x y z == reverse (replace (reverse x) (reverse y) (reverse z))
*SearchRepl> replace "ab" "ba" "aaaaaaaaab"
*SearchRepl> reverse (replace (reverse "ab") (reverse "ba") (reverse "aaaaaaaaab"))
Is this a feature or bug?
I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland
More information about the Haskell-Cafe