On Thu, 2 Oct 2008, Moritz Lenz wrote:
[snip]
It sounds like a perfect idea for a very general library or rather
library framework. Perl 6 has all the hooks to install stuff like this.
Agree 100%. But I thought it might be useful toget some feedback from
others on this; I'd like to see the idea widely adopted :).
Btw, it was quite a long time before I was able to find the operator
overloading documentation; "Subroutines" was not an intuitive place to look
When you know that operators are mostly[1] just weirdly named subs, it
is ;-)
Well, maybe :). But when you go to the Operators synopsis and search
for "Overloading"... :).
:). Is there any chance we could add something to S03 that says something
like "see S06 and S13 for operator overloading"?
That would be mainly Larry's decision.
Ok. Since I assume he reads this list, I'll leave it up to him.
Other ways to search in the Synopsis are
* check out a copy of the svn repo, and grep/ack in them
* ask in #perl6 where some particular item is documented
Part of my problem was that there was a reasonable amount of
information in the "Operators" and "Overloading" synopses, and so I figured we
were just supposed to mentally integrate all that :).
Sadly we have next to no user-level documentation at them moment. The
closest might be the open sourced version of "Perl 6 and Parrot
Essentials", but it's rather incomplete and some parts are quite out of
date.
Well, I learned Perl5 (back in 96) by reading what's now the Reference
section in order (well, at least perlsyn, perldata, perlop, perlsub, perlfunc,
anyway, and then selected a few others that I liked).
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: [EMAIL PROTECTED] | 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-----