First-class functions/Use numbers analogously: Difference between revisions

→‎{{header|Perl 6}}: now is a perfect structural match
(→‎{{header|Perl 6}}: now is a perfect structural match)
Line 578:
my $zi = 1.0 / ( $x + $y );
 
my @functionsnumbers = $x, $y, $z;
my @inverses = $xi, $yi, $zi;
for @functionsnumbers Z @inverses { say multiplied($^g, $^f)(.5) }</lang>
Output:
<pre>0.5
0.5
0.5</pre>
ThisThe structure of this is nearly identical to the first example in the-class function task, especially since I'm going to go to the other one and make it look more like this one. <tt>:)</tt>
 
=={{header|PicoLisp}}==
Anonymous user