Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More renames, slight tweak.

  • Loading branch information...
commit f8077e209115fa71ea644172bf266fcc4b6fb1ba 1 parent cf0a7e5
@colomon authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.