Re:Coconut – Pythonic functional programming language
by agumonkey on Thursday June 23, 2016 @10:56AM
(#11961384)
Maybe the decorator rewrites the AST. I've seen this before.
[ Parent
| on HN ]
Re:Coconut – Pythonic functional programming language
by santialbo on Thursday June 23, 2016 @11:43AM
(#11961865)
It does, when the function is actually tco optimizable. The example is not. On the docs however it's correct
http://coconut.readthedocs.io/en/master/DOCS.html#recursive
Re:Coconut – Pythonic functional programming language
by coconutlang on Thursday June 23, 2016 @09:04PM
(#11965508)
Good catch! I'll fix it right away.