purescript / documentation

Documentation for the PureScript language, compiler, and tools.
Other
1.02k stars 301 forks source link

Function or value name characters are only defined via Unicode categories #419

Open halloleo opened 2 years ago

halloleo commented 2 years ago

The characters a function or value name can consist of are defined via Unicode categories.

This is absolutely unambiguous, but not very helpful for the common reader. I suggest listing for each character category which characters of the extended ASCII character set (0x00 to 0xFF) fall into the category.

I am happy to create a PR for this. 😄

JordanMartinez commented 2 years ago

Perhaps we could link to a page that covers each category in more detail?

halloleo commented 2 years ago

Not sure if it needs another page. I've created an PR where I just add to Syntax.md a table with the "normal" characters .