[Bug 17602] New: Type alias / define

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17602

           Summary: Type alias / define
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.1 Requirements and Use Cases
        AssignedTo: jonathan.robie@gmail.com
        ReportedBy: john.snelson@marklogic.com
         QAContact: public-qt-comments@w3.org


With the addition of higher order functions and the discussion around adding
map values, SequenceTypes are becoming more and more complex - especially when
building complex data structures from these types of values.

We should add a type alias (or type definition) facility to allow complex
SequenceType to be referred to with simple QNames, and to allow the definition
of recursive types:

declare type-alias my:transform-function as
  function($nodes as node()*, $params as map(*)) as item()*;

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 26 June 2012 12:20:31 UTC