Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*print-case* :capitalize does not capitalize printed values #52

Closed
ninejaguar opened this issue Feb 16, 2019 · 3 comments
Closed

*print-case* :capitalize does not capitalize printed values #52

ninejaguar opened this issue Feb 16, 2019 · 3 comments

Comments

@ninejaguar
Copy link

ninejaguar commented Feb 16, 2019

*print-case* :capitalize behaves the same as *print-case* :downcase in Corman CL. But, it works fine in SBCL.

Corman Lisp 3.1 (Patch level 2) Example: Note that the "m" in the last "mike" is NOT properly capitalized. The entire name is lowercase as if the :downcase keyword were used instead of :capitalize.

?(defvar *name* (read))
mike
*NAME*
?*name*
MIKE
?(setq *print-case* :capitalize)
:capitalize
?*name*
mike

SBCL 1.4.14 Example: Note that the "M" in the last "Mike" is properly capitalized while the rest of the name is properly lowercase.

* (defvar *name* (read))
mike
*NAME*
* *name*
MIKE
* (setq *print-case* :capitalize)
:Capitalize
* *name*
Mike
@arbv arbv closed this as completed in 90fc70f Feb 19, 2019
@arbv
Copy link
Member

arbv commented Feb 19, 2019

@ninejaguar

Does the attached build work as it should?

CormanLispBinaries.zip

@ninejaguar
Copy link
Author

It works! Thank you for the quick fix!

(defvar *name* (read))
mike
*NAME*
MIKE
(setq *print-case* :capitalize)
:Capitalize
*NAME*
Mike

@arbv
Copy link
Member

arbv commented Feb 19, 2019

@ninejaguar You are welcome! You have provided a lot of meaningful feedback recently, thank you for your interest in Corman Lisp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants