manuel-serrano / bigloo

a practical Scheme compiler
http://www-sop.inria.fr/indes/fp/Bigloo
Other
135 stars 19 forks source link

fprintf do not work like describe in the documentation #57

Closed PFOllagnon closed 3 years ago

PFOllagnon commented 3 years ago

Description:

fprint output-port obj ... This function is the same as print except that a port is provided.

1) we can only put one obj (other ones are omitted) 2) it doesn't add a new-line

So it is currently the same as write (arguments are just swapped)

svenha commented 3 years ago

Can you please check your post: fprint or fprintf? I see no problems with fprint:

 (fprint (current-output-port) "abc" "def")

Prints:

 abcdef
PFOllagnon commented 3 years ago

OOOPS ! You are right. I mixed up both functions. :-/