Getting to Xen
Erik Meijer: For example given a bibliography of books, bib, we can select all books whose publisher is Addison-Wesley that are published after 1991 by the following filter expression.
book* AWbooks = bib.book[it.publisher == "Addison-Wesley" && it.year > 1991];
Sweet! Note the use of *
to denote sequence, and the
implicit it
variable. There also are
embedded expressions and
apply-to-all.
Missing, or incompletely described at this point, are namespaces and mixed content.
[via Dare Obasanjo]