Hi,
Damian Conway wrote:
> BTW, I am *sorely* tempted to suggest the following implementation
> instead:
[...]
> which would produce:
>
> uniq <a b a a c d>; # <a b c d>
>
> uniq { lc } <a b C A a c d>; # 'a'|'A', 'b',
> 'C'|'c', 'd'
>
> uniq { abs $^value } 42, 23, -23, 23, 42; # 42, 23|-23
I like that *very* much! :)
And it's a nice example why Junctions Are Good :)
--Ingo
--
Linux, the choice of a GNU | 'The box said, 'Requires Windows 95 or
generation on a dual AMD | better', so i installed Linux - TKK 5
Athlon! |