Idiomatically determine all the characters that can be used for symbols: Difference between revisions

Content added Content deleted
(Added Kotlin)
Line 43: Line 43:
2nd..nth char: 193 NG, 63 OK 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
2nd..nth char: 193 NG, 63 OK 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
</pre>
</pre>
=={{header|FSharp}}==
Well, if the purpose of this task is to determine what can be used as an identifier then in F# anything so long as you enclose it in double backticks so:
<lang fsharp>
let ``+`` = 5
printfn "%d" ``+``
</lang>
{{out}}
<pre>
5
</pre>
Is this idiotmatically determined?
=={{header|Go}}==
=={{header|Go}}==
Go allows the underscore, letters, and digits, with "letters" and "digits" defined by Unicode. The first character must be the underscore or a letter. To be exported, the first character must be an upper case letter, again as defined by Unicode.
Go allows the underscore, letters, and digits, with "letters" and "digits" defined by Unicode. The first character must be the underscore or a letter. To be exported, the first character must be an upper case letter, again as defined by Unicode.