allow printing non-string objects

This commit is contained in:
Daniella / Tove 2023-04-22 17:31:24 +02:00 committed by GitHub
parent adabbe0418
commit 80b2604ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,11 @@ func =null { | pop
def program-name def program-name
def std.alias.print &print =std.alias.print
func print { |
_str std.alias.print call
}
func println { | func println { |
print "\n" print print "\n" print
} }