On Sun, Apr 18, 2021 at 8:00 PM Joseph Brenner wrote:
>
> Before I get started here, a small point about defining hashes.
> There are various ways that work:
>
>my %h1 = ( 'ha' => 1, 'ho' => 2, 'hum' => 3 );
>my %h2 = ( ha => 1, ho => 2, hum => 3 );
>my %h3 = ha => 1, ho => 2, h
Bruce Gray points out that this is one of the known traps:
https://docs.raku.org/language/traps#Named_parameters
I gather there's some sort of special-casing going on where you might
think that named arguments are exactly the same a list of pairs, but
that's not precisely what's going on, and r
On Sun, Apr 18, 2021 at 3:00 PM Joseph Brenner wrote:
> Before I get started here, a small point about defining hashes.
> There are various ways that work:
>
> my %h1 = ( 'ha' => 1, 'ho' => 2, 'hum' => 3 );
> my %h2 = ( ha => 1, ho => 2, hum => 3 );
> my %h3 = ha => 1, ho =>
The SF Perl Raku Study Group, 04/18 at 1pm PDT
"The year 2000 is the point at which it
became cheaper to collect information
than to understand it."
-- Freeman Dyson
The Raku Study Group
April 18, 2021 1pm in California, 8pm in the UK
Zoom meeting link:
https://us02web.zoom.us
Before I get started here, a small point about defining hashes.
There are various ways that work:
my %h1 = ( 'ha' => 1, 'ho' => 2, 'hum' => 3 );
my %h2 = ( ha => 1, ho => 2, hum => 3 );
my %h3 = ha => 1, ho => 2, hum => 3;
my %h4 = 'ha' => 1, 'ho' => 2, 'hum' => 3;