larcenists / larceny

Larceny Scheme implementation
Other
202 stars 32 forks source link

write-string rejects the last two optional arguments (R7RS) #803

Closed WillClinger closed 7 years ago

WillClinger commented 7 years ago
% larceny --r7rs
Larceny v0.99 "Goldie" (May 25 2016 01:16:34, precise:Linux:unified)
larceny.heap, built on Wed May 25 01:17:00 EDT 2016

> (write-string "abcdef" (current-output-port) 3)

Error: unhandled condition:
Compound condition has these components: 
#<record &error>
#<record &message>
    message : "write-string: too many arguments."
#<record &irritants>
    irritants : ()
WillClinger commented 7 years ago

Fixed by changeset a6dc4a33b73458bc9c76c7891c6280c1d80db2a9