anonymous functions? anonymous variables

Ihe Onwuka <[email protected]>
Newsgroups gmane.text.xml.saxon.help
Message-ID <CALfs7+ykHG6jYLWipMboNgAza4PAyUncyZnwy4ORVgZScxMhFw@mail.gmail.com>
Since I don't have to give a function a name it would also be nice if I
didn't have to name variables I am not using.

e.g

Suppose I have a constraint that a function must have 2 arguments but I
only need to use one I have to write

function ($k, $v) {$v}

instead of something like

function (_,$v) {$v}

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.