uiua-lang / uiua

A stack-based array programming language
https://www.uiua.org
MIT License
1.62k stars 117 forks source link

`⟜⊸`-style documentation for inverses? #569

Open nyxbird opened 1 month ago

nyxbird commented 1 month ago

Some of the inverses (e.g. °√ and °ℂ) are fairly intuitive, but the majority have behavior that can't really be assumed from their original functions. As a beginner, °⊏ doing what it does wasn't obvious. Could there be some sort of multi-glyph documentation for the weirder inverses, in the same way ⟜⊸ works?

kaikalii commented 1 month ago

Hmm, that's an interesting idea. Nothing preventing it. I'll add it to the todo.

kaikalii commented 1 month ago

I've added some of these in 20cfc189d60820e8b4745a. Let me know if there are any others you run into!