commit deletes

This commit is contained in:
Ingy döt Net 2013-10-27 23:48:49 +00:00
parent 776bba907c
commit 372c577f83
233 changed files with 0 additions and 6724 deletions

View file

@ -1,8 +0,0 @@
function factorial(n)
factorial = 1
if n>0 then
for p=1 to n
factorial *= p
next p
end if
end function

View file

@ -1,10 +0,0 @@
function factorial(n::Integer)
if n < 0
return zero(n)
end
f = one(n)
for i = 2:n
f *= i
end
return f
end

View file

@ -1,3 +0,0 @@
sub postfix:<!> { [*] 1..$^n }
say 5!; #prints 120