3
edits
(→Features - recursion: new section) |
m (→Features - recursion: .. stx upgr. / prevent error categories) |
||
Line 6: | Line 6: | ||
Not sure it can be said that ivy has no recursion. | Not sure it can be said that ivy has no recursion. | ||
< | <syntaxhighlight> | ||
op fact x = x<=1: 1; x*fact(x-1) | op fact x = x<=1: 1; x*fact(x-1) | ||
fact 5 | fact 5 | ||
120 | 120 | ||
</ | </syntaxhighlight> | ||
Regards, —[[User:Mykhal|Mykhal]] ([[User talk:Mykhal|talk]]) 12:40, 16 December 2022 (UTC) | Regards, —[[User:Mykhal|Mykhal]] ([[User talk:Mykhal|talk]]) 12:40, 16 December 2022 (UTC) |
edits