Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -7,7 +7,7 @@ extension op
ordinalize()
{
int i := self.Absolute;
if (new int[]{11,12,13}.ifExists(i.mod:100))
if (new int[]{11,12,13}.ifExists(i.mod(100)))
{
^ i.toPrintable() + "th"
};

View file

@ -1,7 +1,7 @@
import "/fmt" for Conv
import "./fmt" for Fmt
var ranges = [ 0..25, 250..265, 1000..1025 ]
for (r in ranges) {
r.each { |i| System.write("%(Conv.ord(i)) ") }
r.each { |i| Fmt.write("$r ", i) }
System.print("\n")
}