Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Ackermann-function/Lucid/ackermann-function.lucid
Normal file
7
Task/Ackermann-function/Lucid/ackermann-function.lucid
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
ack(m,n)
|
||||
where
|
||||
ack(m,n) = if m eq 0 then n+1
|
||||
else if n eq 0 then ack(m-1,1)
|
||||
else ack(m-1, ack(m, n-1)) fi
|
||||
fi;
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue