Data update

This commit is contained in:
Ingy döt Net 2025-02-27 18:35:13 -05:00
parent 8e4e15fa56
commit 72eb4943cb
1853 changed files with 35514 additions and 9441 deletions

View file

@ -0,0 +1,6 @@
void main() {
const string = 'D';
print(string.runes.first);
var out = String.fromCharCode(67);
print(out);
}

View file

@ -1,11 +1,11 @@
val a1 = 'a'
val a2 = 97
val a3 = "a"[1]
val a4 = s2cp("a", 1)
val a4 = s2cp("a", of=1)
val a5 = [a1, a2, a3, a4]
writeln a1 == a2
writeln a2 == a3
writeln a3 == a4
writeln "numbers: ", join(", ", map(string, [a1, a2, a3, a4, a5]))
writeln "letters: ", join(", ", map(cp2s, [a1, a2, a3, a4, a5]))
writeln "numbers: ", join(map([a1, a2, a3, a4, a5], by=string), by=", ")
writeln "letters: ", join(map([a1, a2, a3, a4, a5], by=cp2s), by=", ")