instead of using a macro, you could also use a template, which is imho the
better way, since it's a less powerful construct and easier readable:
import unicode
template uc(s: static[string]): Rune =
const runeVal = runeAt(s, 0)
runeVal
Run
- Is there a handy way to declare Rune literals? vsajip
- Re: Is there a handy way to declare Rune literals? Tiberium
- Re: Is there a handy way to declare Rune literals? vsajip
- Re: Is there a handy way to declare Rune literals... Hlaaftana
- Re: Is there a handy way to declare Rune lite... vsajip
- Re: Is there a handy way to declare Rune... doofenstein
