[Python-3000] sets in P3K?
Kay Schluehr
kay.schluehr at gmx.net
Thu Apr 27 08:27:35 CEST 2006
Talin schrieb:
>A set with no elements is:
>
> set()
>
>Alternatively, you could take the tuple idea one step further:
>
> {,}
>
>
If you want to simulate the mathematical notion of an empty set I would
say that {/} has a stronger mnemonic appeal.
Furthermore: what about notions of infinite sets?
>However, I'm not sure I like this very much.
>
>
I don't know if I like to be forced mixing functional and non-functional
syntax to express the same kind of
entities.
Kay
More information about the Python-3000
mailing list