[Bug 5696] [XQuery 1.1] Feature request to aid static typing

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5696


Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tim@cbcl.co.uk




--- Comment #3 from Tim Mills <tim@cbcl.co.uk>  2008-10-28 13:00:12 ---
Haskell has type classes, described at 

http://www.haskell.org/tutorial/classes.html 

which seem like a very well designed way of describing the sort of constraints
on types suggested by Option 2.  This might be a useful addition to XQuery.

As an off-topic aside, I'm personally a bit wary of try ... catch.  I've got a
horrible feeling I'm turning into a functional purist.  Even element
constructors make me feel queazy :)


-- 
Configure bugmail: http://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, 28 October 2008 13:00:26 UTC