[Haskell-cafe] Re: Function to detect duplicates
Ertugrul Soeylemez
es at ertes.de
Thu Feb 25 12:32:10 EST 2010
Daniel Fischer <daniel.is.fischer at web.de> wrote:
> Am Mittwoch 24 Februar 2010 14:25:20 schrieb Ertugrul Soeylemez:
>
> > Again note that the big advantage of my method is laziness. The
> > comparison will end on the first duplicate found.
>
> Yes, and the suggestions Jonas and I posted had the same property :)
Indeed. My suggestion was a response to the sort-based method proposed
first. =)
Greets
Ertugrul
--
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://blog.ertes.de/
More information about the Haskell-Cafe
mailing list