William James
11/15/2015 1:15:00 PM
CAI GENGYANG wrote:
> I wrote a function that takes 2 arguments and returns the larger one.
>
> CL-USER 4 : 2 > (defun greater (x y)
> (if (> x y) x y))
> GREATER
>
> CL-USER 5 : 2 > (greater 5 6)
> 6
>
> How do i extend it to 3 elements or more ?
MatzLisp (Ruby):
def greatest *args
args.max
end
greatest 5,9,2
==>9
greatest "eeny","mo","meeny"
==>"mo"
--
"It is not as wrong raping a Swedish girl as raping an Arab girl," says Hamid,
in an interview about a gang rape involving a Swedish girl and immigrant
perps.... [T]his massive spike in rapes is caused by mass immigration ... that
.... international organizations want to continue ... until the native
population has been reduced to a persecuted minority.
--- amren.com/news/2009/09/sweden_tops_eur/