On Tue, 23 May 2017 15:06:45 -0700, comdog wrote:
> #`(
> When I compile this code, I get the error:
>
> Useless use of constant value [ ] in sink context (lines 9, 9)
>
> I don't think it was useless because it did what I needed.
>
> I really wanted the ᔑ to be tighter then ., but that's no
On Tue, 23 May 2017 15:06:45 -0700, comdog wrote:
> #`(
> When I compile this code, I get the error:
>
> Useless use of constant value [ ] in sink context (lines 9, 9)
>
> I don't think it was useless because it did what I needed.
>
> I really wanted the ᔑ to be tighter then ., but that's no
On Sat, 03 Jun 2017 07:14:59 -0700, c...@zoffix.com wrote:
> In none of these cases is the use of variables actually useless:
>
> m: my ($sensor1, $sensor2, $sensor3); $sensor1 notandthen
> $sensor2 notandthen $sensor3 notandthen 'did not find a working
> sensor!'.say;
> rakudo-moar 64e898: OUTP
On Sat, 03 Jun 2017 07:14:59 -0700, c...@zoffix.com wrote:
> In none of these cases is the use of variables actually useless:
>
> m: my ($sensor1, $sensor2, $sensor3); $sensor1 notandthen
> $sensor2 notandthen $sensor3 notandthen 'did not find a working
> sensor!'.say;
> rakudo-moar 64e898: OUTP
On Sat, 03 Jun 2017 12:07:37 -0700, c...@zoffix.com wrote:
>
> The warning lies; this use isn't useless:
>
> m: -> +@foo { say @foo.head.(41) }(* == 42)
> rakudo-moar 64e898: OUTPUT: «WARNINGS for :Useless use
> of "==" in expression "* == 42" in sink context (line 1)False»
> m: -> +@foo {
On Sat, 03 Jun 2017 12:07:37 -0700, c...@zoffix.com wrote:
>
> The warning lies; this use isn't useless:
>
> m: -> +@foo { say @foo.head.(41) }(* == 42)
> rakudo-moar 64e898: OUTPUT: «WARNINGS for :Useless use
> of "==" in expression "* == 42" in sink context (line 1)False»
> m: -> +@foo {