Raku / old-design-docs

Raku language design documents
https://design.raku.org/
Artistic License 2.0
124 stars 36 forks source link

List.munch used in spectests, but not defined. #7

Open coke opened 12 years ago

coke commented 12 years ago

Need a ruling as to whether this should be part of the spec, or if the tests need re-writing:

S03-metaops/zip.t
S03-operators/range-int.t
S03-sequence/arity0.t
S03-sequence/basic.t
S03-sequence/nonnumeric.t
S04-statements/gather.t
pmichaud commented 12 years ago

My inclination is that it will be part of the spec. There are several places where Rakudo uses it to good effect.

Pm

lizmat commented 11 years ago

I'm not sure what .munch exactly does. It seems to eat finite lists, and take some from infinite lists?

colomon commented 11 years ago

It reifies the next N elements in an infinite list. Probably waiting on pmichaud++'s list (re-?)design for a decision on this.

On Fri, Jun 28, 2013 at 6:35 AM, lizmat notifications@github.com wrote:

I'm not sure what .munch exactly does. It seems to eat finite lists, and take some from infinite lists?

— Reply to this email directly or view it on GitHubhttps://github.com/perl6/specs/issues/7#issuecomment-20181293 .

Solomon Foster: colomon@gmail.com HarmonyWare, Inc: http://www.harmonyware.com