WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 45158655

(no title)

skrishnamurthi | 5 months ago

1. This isn't the same. `rec` names the function. This does not name the function. The point is to illustrate how the name-capture works.

2. The README literally says "Don't Use This Macro!" and references `rec` to use instead:

https://github.com/shriram/anonymous-recursive-function?tab=...

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com