This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
2023
RosettaCodeData
/
Task
/
Ackermann-function
/
Oforth
/
ackermann-function.oforth
5 lines
96 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
June 2018 Update
2018-06-22 20:57:24 +00:00
: A( m n -- p )
Add tasks for all the new languages
2016-12-05 23:44:36 +01:00
m ifZero: [ n 1+ return ]
June 2018 Update
2018-06-22 20:57:24 +00:00
m 1- n ifZero: [ 1 ] else: [ A( m, n 1- ) ] A
;
Reference in a new issue
Copy permalink