higepon / mosh

Mosh is a free and fast interpreter for Scheme as specified in the R6RS.
http://mosh.monaos.org/
Other
181 stars 13 forks source link

Write syntax of ports #232

Closed lassik closed 2 years ago

lassik commented 2 years ago
mosh> (current-output-port)
<transcoded-textual-output-port standard-out-port>

The write syntax uses only <. It does not use #<. Is this intentional?

Mosh uses #< to write other types of unreadable objects, e.g. #<subr +> and #<eof-object>.

higepon commented 2 years ago

Thank you for the catch. It's not intentional. For consistency it should start with #. Here is the fix https://github.com/higepon/mosh/pull/233.

Thank you!

lassik commented 2 years ago

Great, thanks!