On Tue, 08 Aug 2000 23:43:26 -0400, Ken Fox wrote:

>(assuming min() is polymorphic):
>
>  min($a, $b) eq $a
>
>Ugly, but minimal changes to the language.

We could adopt a syntax similar to sort():

        $lowest  = min($x, $y, $z); # default: numerical (?)

        $first = min { $a cmp $b } ($x, $y, $z);  # alphabetical

-- 
        Bart.

Reply via email to