If one is looking through Unicode text and wants to compare a given rune with 
some literal value like '.' or ',', is there any easy way of declaring ASCII 
char values as Rune literals so that they can be compared more readably than 
doing `if some_rune == Rune('.')` or similar? Something like Python 2's 
`u'foo'` prefix? I couldn't see anything in the tutorials about this. 
Alternatively, something like Python's `from __future__ import 
unicode_literals`, only that applies to entire modules and one might want to 
just enable it locally for a single proc or a block within a proc.

Reply via email to