allow printing non-string objects
This commit is contained in:
parent
adabbe0418
commit
80b2604ced
1 changed files with 5 additions and 0 deletions
5
std.spl
5
std.spl
|
@ -6,6 +6,11 @@ func =null { | pop
|
|||
|
||||
def program-name
|
||||
|
||||
def std.alias.print &print =std.alias.print
|
||||
func print { |
|
||||
_str std.alias.print call
|
||||
}
|
||||
|
||||
func println { |
|
||||
print "\n" print
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue