janet-lang / janet-lang.org

Website for janet
https://janet-lang.org
MIT License
90 stars 59 forks source link

Docs don't mention that function literals can be named with keywords #223

Open sogaiu opened 2 months ago

sogaiu commented 2 months ago

Janet 1.35.0 gained the ability to use keywords as names for anonymous functions.

May be at the very least we can add an example of this use in the section for fn on the specials.

Possibly there could be explicity mention in the prose on that page or perhaps the functions.