Front page | perl.perl6.language |
Postings from May 2005
[S29] uniq
Thread Next
From:
Ingo Blechschmidt
Date:
May 19, 2005 07:52
Subject:
[S29] uniq
Message ID:
d6i8nq$o4k$1@sea.gmane.org
Hi,
three quick questions:
Is it intentional that there's no uniq in the current S29[1] draft?
See [2] for Damian saying that uniq is probably in.
I wondered what uniq's default comparator should be, =:=?
Should it be possible to give an own comparator block, similar as with
grep? E.g.
uniq <a b a a c d>; # <a b a c d>
uniq:{ abs $^a == abs $^b } 42, 23, -23, 23, 42
# 42, 23, 42
--Ingo
[1] http://svn.openfoundry.org/pugs/docs/AES/S29draft.pod
[2] http://groups.google.com/groups?selm=420DB295.3000902%40conway.org
--
Linux, the choice of a GNU | "The future is here. It's just not widely
generation on a dual AMD | distributed yet."
Athlon! | -- William Gibson
Thread Next
-
[S29] uniq
by Ingo Blechschmidt