This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1700 - [FS] most arithmetic operations are not monomorphic
Summary: [FS] most arithmetic operations are not monomorphic
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows 2000
: P2 trivial
Target Milestone: ---
Assignee: Jerome Simeon
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-17 23:12 UTC by Fred Zemke
Modified: 2005-09-29 10:48 UTC (History)
0 users

See Also:


Attachments

Description Fred Zemke 2005-07-17 23:12:32 UTC
4.4 Arithmetic expressions
Under "normalization" it uses the undefined term "monomorphic
function".  The term is not defined in Functions and Operators either.
As I recall from abstract algebra, a monomorphism is a one-to-one
homomorphism.  While unary plus and minus are one-to-one,
most of these operators are not.  For example, 1+0 = 0+1, so
addition is many-to-one.
The simplest solution is to drop the use of the term, which adds
nothing to the discussion anyway.  

In prior drafts he term also appears in
4.5.1 "Value comparisons",
Appendix B.2, "Mapping of overloaded internal functions".
I haven't scanned the latest version for all occurrences.
Comment 1 Jerome Simeon 2005-09-29 10:30:25 UTC
Removed the use of the term 'monomorphic'.
- Jerome