aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus "Holli" Holzer <holli.holzer@gmail.com>2020-04-13 15:35:19 +0200
committerMarkus "Holli" Holzer <holli.holzer@gmail.com>2020-04-13 15:35:19 +0200
commitf07be68eed70fd308d35e5eea135ce70d2da7d29 (patch)
tree0eaef18cb684a7f669a8d456b62399b2dc11c17e
parente97b6a30879c86685a90b80101929af5620c35b0 (diff)
downloadperlweeklychallenge-club-f07be68eed70fd308d35e5eea135ce70d2da7d29.tar.gz
perlweeklychallenge-club-f07be68eed70fd308d35e5eea135ce70d2da7d29.tar.bz2
perlweeklychallenge-club-f07be68eed70fd308d35e5eea135ce70d2da7d29.zip
#2 initial
-rw-r--r--challenge-056/markus-holzer/raku/ch-2.p64
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-056/markus-holzer/raku/ch-2.p6 b/challenge-056/markus-holzer/raku/ch-2.p6
index fe8592b1f1..b184114a93 100644
--- a/challenge-056/markus-holzer/raku/ch-2.p6
+++ b/challenge-056/markus-holzer/raku/ch-2.p6
@@ -25,7 +25,7 @@ multi sub find-path-sum( %t, $n )
gather find-path-sum( %t, 0, [], $n );
}
-multi find-path-sum( $tree, $sum, $path, $n )
+multi sub find-path-sum( $tree, $sum, $path, $n )
{
for $tree.keys -> $k
{
@@ -40,4 +40,4 @@ multi find-path-sum( $tree, $sum, $path, $n )
take $p if $s == $n;
}
-}
+} \ No newline at end of file