On 2010-05-26, at 8:52 am, Larry Wall wrote:
> On Wed, May 26, 2010 at 07:22:36AM -0700, jerry gay wrote:
> : On Wed, May 26, 2010 at 00:53, Moritz Lenz wrote:
> : > sub MAIN(:name(:$n))
> : > then $n has two names, 'name' and 'n', and we could consider all
> one-letter
> : > parameter names as s
On 2010-05-26, at 1:53 am, Moritz Lenz wrote:
> After playing with the first submission, the hash of types is what I found
> most useful.
> See
> http://github.com/moritz/process-cmd-args/blob/master/process-cmd-args.p6#L256
> for some code that actually generates it by introspecting the signatu
On Wed, May 26, 2010 at 07:22:36AM -0700, jerry gay wrote:
: On Wed, May 26, 2010 at 00:53, Moritz Lenz wrote:
: > The spec doesn't elaborate on how the short args are specified in the
: > signature of MAIN. I see two possible approaches (that don't contradict):
: >
: > 1) one renames them in the
On Wed, May 26, 2010 at 00:53, Moritz Lenz wrote:
> The spec doesn't elaborate on how the short args are specified in the
> signature of MAIN. I see two possible approaches (that don't contradict):
>
> 1) one renames them in the signature, so it would like
>
> sub MAIN(:name(:$n))
>
> then $n has
Hi David,
thanks for your contribution. I'll review it thoroughly in the next few
days.
Am 24.05.2010 21:14, schrieb David Green:
Also the line that sets the "but False" variations is commented out for now,
because "but" isn't working.
That's a reason why the challenge included only the si
Hi,
Attached is my attempt at a process-cmd-args function, as well as a bunch of
tests. It handles most of the spec, except for -abc (either as -a=bc or as -a
-b -c), and except for "exact" P6 forms (:foo<1> or :foo(1)).
Also the line that sets the "but False" variations is commented out for no