This PR adds the mention also for https://elv.sh/ref/language.html#variable-suffix, so that finally one can more easily find out that a variable ending with ~ refers to function (or callable).
Thanks. This use of ~ is not technically a metacharacter though, so the wording needs some change - I've done that b0abf3cb111df6d658db4551f0fbfde35509591c and credited this PR, so I'll close this.
When somebody is learning Elvish, he/she will soon stumble on a variable with a tilde suffix, e.g.:
$foo~
.If he then goes to the Language specification, and searches for the
~
character, he will find 290 matches, so impractical to follow all of them.If he searches for the name
tilde
, he will find section https://elv.sh/ref/language.html#metacharacters, but that section mentions tilde only for the tilde-expansion case.This PR adds the mention also for https://elv.sh/ref/language.html#variable-suffix, so that finally one can more easily find out that a variable ending with
~
refers to function (or callable).Thanks for Elvish!