yary wrote:
...
Also, the domain should define how to compare objects and could provide
details about whether the set is finite, countable or uncountable.
...
Sounds like a role Domain that provides methods (off the top of my head)-
ordering - returns Nil if the domain is unordered,
On Tue, 13 Oct 2009 09:21 +0200, Michael Zedeler mich...@zedeler.dk
wrote:
'a' .. 'z' followed by 'ä', 'ö', 'å' (Swedish)
'a' .. 'z', 'å', 'ä', 'ö' (Finnish)
'a' .. 's', 'š', 'z', 'ž', 't' .. 'w', 'õ', 'ä', 'ö', 'ü', 'x', 'y'
(Estonian)
So yes, you are definitely on the right track with
David Green wrote:
On 2009-Oct-4, at 2:07 pm, Moritz Lenz wrote:
Michael Zedeler wrote:
It doesn't, because succ should always give the next, smallest possible
element given some ordering relation.
Where's that definition from?
The dictionary. =) It would be confusing to have a successor
...
Also, the domain should define how to compare objects and could provide
details about whether the set is finite, countable or uncountable.
...
Sounds like a role Domain that provides methods (off the top of my head)-
ordering - returns Nil if the domain is unordered, or a method
Michael Zedeler mich...@zedeler.dk writes:
Moritz Lenz wrote:
Jon Lang wrote:
How do pred and succ work when given Complex values?
By adding/substracting 1 from the real part, I'd say. Don't know if that
actually makes sense.
It doesn't, because succ should always give the
On 2009-Oct-4, at 2:07 pm, Moritz Lenz wrote:
Michael Zedeler wrote:
It doesn't, because succ should always give the next, smallest
possible
element given some ordering relation.
Where's that definition from?
The dictionary. =) It would be confusing to have a successor
method for
Author: moritz
Date: 2009-10-04 19:15:53 +0200 (Sun, 04 Oct 2009)
New Revision: 28597
Modified:
docs/Perl6/Spec/S32-setting-library/Numeric.pod
Log:
[S32/Numeric] major overhaul
* Most methods that were in Num are now Numeric
* sign() and the rounding methods are now in Real
* document (at
How do pred and succ work when given Complex values?
More generally: if Complex does Numeric, then Numeric doesn't include
Ordered (or whatever it's called), because Complex doesn't do Ordered.
As such, you can't used Numeric for any function that depends on the
value being Ordered.
On Sun, Oct
Jon Lang wrote:
How do pred and succ work when given Complex values?
By adding/substracting 1 from the real part, I'd say. Don't know if that
actually makes sense.
More generally: if Complex does Numeric, then Numeric doesn't include
Ordered (or whatever it's called), because Complex doesn't
Moritz Lenz wrote:
Jon Lang wrote:
How do pred and succ work when given Complex values?
By adding/substracting 1 from the real part, I'd say. Don't know if that
actually makes sense.
It doesn't, because succ should always give the next, smallest possible
element given some ordering
Michael Zedeler wrote:
Moritz Lenz wrote:
Jon Lang wrote:
How do pred and succ work when given Complex values?
By adding/substracting 1 from the real part, I'd say. Don't know if that
actually makes sense.
It doesn't, because succ should always give the next, smallest possible
Moritz Lenz wrote:
Jon Lang wrote:
typos: s[Nuermic] = Numeric
You do have a pugs commit bit, don't you?
A what? AFAICT, I don't have any way of editing the Synopses; all I
can do is to comment on what I find.
--
Jonathan Dataweaver Lang
Jon Lang wrote:
Moritz Lenz wrote:
Jon Lang wrote:
typos: s[Nuermic] = Numeric
You do have a pugs commit bit, don't you?
A what? AFAICT, I don't have any way of editing the Synopses;
You have now (sorry for assuming earlier that you had). A username and
password should be on the way to
13 matches
Mail list logo