Skip to content

Add dynamic function calls, inline functions, function literals... #17

@JohannesLichtenberger

Description

@JohannesLichtenberger

For instance:

xquery version "3.0";
declare namespace db="http://sirix.io/xquery/db";
declare function db:map($func, $list) {
    for $item in $list return $func($item)
};
let $fun := function($x) { $x * $x }
return db:map($fun, 1 to 5)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions