Re: we need official libs

new topic     » goto parent     » topic index » view thread      » older message » newer message

More on "min" and "max" ...

After doing a fast review of the way similar Euphoria functions are
written, I think that only two possible syntaxes (or is that syntices?) f=
it
the mold:

    example 1:  obj =3D min(obj, obj)
    example 2:  obj =3D min(seq)

The first example doesn't add much to the language because its almost the=

same as compare().  The second example would return the lowest top-level
element in the sequence, treating the sequence in the same way as the
sort(), find() and reverse() functions.  My vote is for the second exampl=
e.

More on voting ...

We should remember that the Euphoria community is not a democracy.  I don=
't
like the word "dictatorship", so maybe we should just call it a benevolen=
t
monarchy  blink

And while I'm on this soap box ...

There seems to be a growing trend toward changing the subject name (threa=
d
name) with each new message.  This makes it harder to follow a given thre=
ad
and also messes up the digests.

Colin Taylor

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu