On Wed, 22 Sep 2004, The Perl 6 Summarizer wrote:

 Writing "pack", or something like it
   Michele Dondi wondered how to write "pack"-like functions in Perl 6,
   where the first argument is a string which specifies the signature of
   the rest of the function call. The proposal stumped me, but maybe you
   all can make something of it.

It was not a *proposal* and it was not really about writing "pack"-like functions. It was really about... D'Oh! I can hardly summarize myself: well, let's say that it was wether about it will be possible in Perl6 to use what I judge to be elegant and natural functional-language-like constructs (possibly avoiding explicit intermediate variables with the exception of, say, $_) like *e.g.* (in this case) map()ping a list of values to a suitable list of curried (on the given values) closures, then reduce()ing it by a suitable (functional) composition and applying the result to the desired input.


Not very concise indeed... well, just more verbose than conceptually complex, IMHO!

BTW: I'm a male, "Michele" is Italian for "Michael", "Mikhail", etc. etc. ad libitum...


Mike -- It was part of the dissatisfaction thing. I never claimed I was a nice person. - David Kastrup in comp.text.tex, "Re: verbatiminput double spacing"

Reply via email to