develooper Front page | perl.perl6.language | Postings from April 2008

question on max | min op

Thread Next
From:
Xiao Yafeng
Date:
April 1, 2008 02:19
Subject:
question on max | min op
I've read Synopsis and I wondered why to treat max and min as
operator. IMHO, view them as list functions is more reasonable. Like
below:

@test.max

is clearer than

@test[0] max @test[1]  or [max] @test.


Any reply would be really appreciated and will much help me learn
perl6. Thanks in advance!

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About