Skip Menu |
Report information
Id: 126903
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: zefram [at]

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [BUG] slip()'s flavour of slurpiness
To: rakudobug [...]
From: Zefram <zefram [...]>
Date: Sun, 13 Dec 2015 22:05:45 +0000
Download (untitled) / with headers
text/plain 504b
doc/doc/Type/Slip.pod says: =head2 sub slip sub slip(*@) returns Slip:D Creates a L<Slip|/type/Slip> from its arguments. rakudo/src/core/ has: multi slip(+args) { args.Slip } Is the slurpy parameter meant to be of flattening or one-arg form? This makes a difference in cases such as slip(11,[22,33]). (To my mind it should be of slicing form, on least-surprise grounds. Either kind of flattening is liable to be a surprise, as demonstrated by [perl #126902].) -zefram

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at