W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2012

[Bug 17602] New: Type alias / define

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Jun 2012 12:20:23 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-17602-523@http.www.w3.org/Bugs/Public/>

           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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC