
24 Sep
2008
24 Sep
'08
11 p.m.
Achim Schneider
"Creighton Hogg"
wrote: So as another step in my education, I wanted to ask if the following code at least feels 'morally' correct as a find/replace function, replacing each occurrence of the sub-list before with after in the list.
Besides not using head, tail and isPrefixOf I would write it the same, except that I'd write it like this:
Coming to think of it, I really don't like those temporary Int64's, memchr or not. -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or broadcasting of this signature prohibited.