On Mon, 9 Mar 2009, Patrick R. Michaud wrote:
On Fri, Mar 06, 2009 at 01:37:16PM +1100, Timothy S. Nelson wrote:
I guess the way I decide things like this is:
- If it's a method on a role/object, then it lives in S32
- If it's not a method, then it lives in S29
Do we have many things that aren't methods?
As few as possible :). The things that remain in S29 are mostly not
methods, but even a few of those are.
* Should there be a way to extract information about a Rat's
numerator/denominator? What methods does a Rat have?
I'm also curious about extracting real and imaginary components
from Complex.
Specced. Feel free to suggest name changes.
# true(), not(), also methods
On?
C<true> is a method on Object (S02:3391), I suspect that
C<not> is also (S03:3282).
Beyond that, I think that what one would think of as
true() or not() are really prefix:<true> and prefix:<not>,
and not "functions" in the normal sense.
Operators, rather than functions? But if they're also methods, won't
they have to be defined separately, rather than putting "is export" on the
method?
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayl...@wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----