Browse files

More renames, slight tweak.

  • Loading branch information...
1 parent cf0a7e5 commit f8077e209115fa71ea644172bf266fcc4b6fb1ba @colomon committed Dec 20, 2012
View
4 bin/collatz-recursive3.pl → bin/collatz-recursive-default-cached.pl
@@ -14,9 +14,9 @@
sub collatz-length(Int $n) is cached {
given $n {
- when 1 { 1 }
+ when 1 { 1 }
when * %% 2 { 1 + collatz-length($_ div 2) }
- default { 1 + collatz-length(3 * $_ + 1) }
+ default { 1 + collatz-length(3 * $_ + 1) }
}
}
View
0 bin/collatz-recursive4.pl → bin/collatz-recursive-ternary-cached.pl
File renamed without changes.

0 comments on commit f8077e2

Please sign in to comment.