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

The type of top-level ~ should refer num rather than realint #48

Open
minoki opened this issue Jun 26, 2021 · 1 comment
Open

The type of top-level ~ should refer num rather than realint #48

minoki opened this issue Jun 26, 2021 · 1 comment

Comments

@minoki
Copy link

minoki commented Jun 26, 2021

The SML Basis Library specifies the type of top-level ~ as

val ~ : num -> num  (* default: int -> int *)

i.e. word is accepted.

Appendix E should be updated accordingly.

@JohnReppy
Copy link
Contributor

The Successor-ML Definition inherits this mistake from the Definition (revised). I suspect (although I don't remember) that the decision to overload negation on words was probably made after the Definition was published. I'll make the change to the TeX sources.

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