We Got Rid of Object 'char'
Since 0.23.6
version of EO we get rid of char
object.
We want to simplify core of the language and believe that this object can be easily replaced
with its actual representation, i.e. an array of bytes.
Now, if you want to get the character, you can just use string
object instead.
All of these examples are valid strings: "\u0123"
, "h"
, "\t"
, "\n"
and "\07"
.
We get rid of string.char-at
and bytes.as-char
objects.
If you need to get one char from a string use string.slice
.
And use bytes.as-string
instead of bytes.as-char
.
Please visit our paper to get more information.