-
Notifications
You must be signed in to change notification settings - Fork 46
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
IDEA: Change all the two-char functions #11
Comments
How do you suggest overloading? Considering that atoms have fixed arity, you might be referring to type overloading. If you are, I don't see how this would save many bytes, in the long run. |
What about the two-char nilads? Those could possibly be copied into the unused nilad bytes. |
I think that once they are assigned their two-byte names, they cannot change, because it will break each and every PPCG answer using them at all. Maybe newer nilads could go to one-byte names. |
That's why I said copied. |
Nah, that would be impractical and wasteful. Newer nilads could use that space! Or, make a second version of the language to transfer them and use 2 bytes for newer ones. |
Well, at least nilads like pi should be a single-byte as well as a double-byte. |
See my edited message. |
You could change the two-char atoms to either overloads of other atoms, or one-char atoms. I assume there isn't already 256 used bytes.
Sorry for typos, I'm on mobile.
The text was updated successfully, but these errors were encountered: