[
Lists Home |
Date Index |
Thread Index
]
Don Box scripsit:
> > Wow! I was knocked out by this one. What good are datatypes if one can
> > work in terms of the value space of the type rather than the lexical
> > form?
>
> In case it wasn't obvious, that sentence should have read "What good are
> datatypes if one CANNOT work in terms of the value space..."
Oh, one definitely can. To express "nonzero integer" properly,
the Right Thing is:
xsd:integer - (xsd:integer "0")
Just because I can't always think of the R.T. on the fly, doesn't
mean it doesn't exist!
--
John Cowan <jcowan@reutershealth.com> http://www.reutershealth.com
I amar prestar aen, han mathon ne nen, http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith. --Galadriel, _LOTR:FOTR_
|