Grupos de Google ya no admite publicaciones ni suscripciones nuevas de Usenet. El contenido anterior sigue visible.

String plan

5 vistas
Ir al primer mensaje no leído

Dan Sugalski

no leída,
26 feb 2003, 12:52:37 p.m.26/2/2003
para perl6-i...@perl.org
Okay, here's the plan for the string rework.

All the string functions we have now should keep their names and
signatures. They do reasonable things, and that's just fine. What we
need is shadow functions that do the same thing, only get passed in
the destination string. Or, rather, we need to rename the current
functions and change the signature to take a destination string, and
add in wrapper functions with the current names that do a string_new
and pass that in to the real function.

Once we do that, we need to think about how to note that a string op
should reuse the destination register. I'm half-tempted to postpend a
R to the name, but that's a bit nasty.
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 mensajes nuevos