Achim Schneider <[EMAIL PROTECTED]> wrote: > "Creighton Hogg" <[EMAIL PROTECTED]> 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. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe