I see at
http://www.moarvm.com/releases.html
...that as of the 2017.03 release, Perl 6 "ignores SIGPIPE by default." I
discovered this for myself when I piped a program that generates unlimited
output to the head utility, and the program did not exit when head was
finished. Simple example:
$ p
On Fri, Jun 16, 2017 at 12:41 AM, Gabor Szabo wrote:
> Would it be used by people who use the REPL to experiment with the
> languages? In that case the listing should be as user friendly as
> possible and require as little typing as possible. Having ABC order is
> IMHO the easiest to look through
On Fri, Jun 16, 2017 at 12:41 AM, Gabor Szabo wrote:
> Would it be used by people who use the REPL to experiment with the
> languages? In that case the listing should be as user friendly as
> possible and require as little typing as possible. Having ABC order is
> IMHO the easiest to look through
I think the question when would ^methods be used?
Would it be used by people who use the REPL to experiment with the
languages? In that case the listing should be as user friendly as
possible and require as little typing as possible. Having ABC order is
IMHO the easiest to look through.
(e.g. in
I think the question when would ^methods be used?
Would it be used by people who use the REPL to experiment with the
languages? In that case the listing should be as user friendly as
possible and require as little typing as possible. Having ABC order is
IMHO the easiest to look through.
(e.g. in
On Sat, Jun 10, 2017 at 2:38 AM, Brent Laabs wrote:
> I thought:
> $ is Scalar
> @ is Array
> % is Hash
> & is a function
>
Pedantically:
$ forces item context, but otherwise allows any type (defaulting to
Scalar); the item context gets you "scalar" behavior in most cases even
with non-scalars
Str.^methods.sort(*.name)
Is easy enough once you know to do it :)
I don't think we should specify a particular order for the returned methods
and alphabetic sorting is kinda arbitrary. Why not sorted by class
inheritance for example?
On Fri, Jun 16, 2017 at 2:09 PM Gabor Szabo
wrote:
> # New T
Str.^methods.sort(*.name)
Is easy enough once you know to do it :)
I don't think we should specify a particular order for the returned methods
and alphabetic sorting is kinda arbitrary. Why not sorted by class
inheritance for example?
On Fri, Jun 16, 2017 at 2:09 PM Gabor Szabo
wrote:
> # New T
On Sat, Jun 10, 2017 at 9:38 AM, Brent Laabs wrote:
> I thought:
> $ is Scalar
> @ is Array
> % is Hash
> & is a function
>
Reading this https://docs.perl6.org/language/containers I just found
out that a @-variable can also contain a List,
not just an array:
> my @z = ()
[]
> @z.^name
Array
> my
# New Ticket Created by Gabor Szabo
# Please include the string: [perl #131583]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131583 >
I think it would be better to have the list returned by ^methods
sorted in abc order.
10 matches
Mail list logo