-
Notifications
You must be signed in to change notification settings - Fork 126
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
Sequences of ASCII values render differently in book and REPL #747
Comments
This is happening because the defaulter is assigning the characters values the type of Integer. Providing a bitvector type such as |
Oh, interesting. That enumeration defaulted to a sequence of
I think this is yet more evidence that we need to rethink defaulting. |
This is an interesting interaction indeed. Notice that |
Actually, I guess we added a special case, so the inner signature also works :-) Sigh. |
The |
Yeah, the character notation is only really there for the book, so I guess we could make it more user friendly, although it really is promoting a view of how things work, which is not quite right.. I wonder, if it might not be better to simply remove characters literals from the types, as we've discussed before. |
CF #864 |
Section 1.8 presents the following example (compressed a bit here to show just the relevant portion):
However, in the REPL:
It appears that
:set ascii=on
doesn't change the behavior of the pretty printer on sequences of ASCII values. It does, however, work as expected on single characters.The text was updated successfully, but these errors were encountered: