-
Notifications
You must be signed in to change notification settings - Fork 26
Rename "assumed" to "builtin" #338
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
Rename "assumed" to "builtin" #338
Conversation
| (** An built-in function identifier, identifying a function coming from a | ||
| standard library. | ||
| *) | ||
| type assumed_fun_id = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this also be renamed to builtin_fun_id? :)
| | Shl -> "<<" | ||
| | Shr -> ">>" | ||
|
|
||
| let assumed_fun_id_to_string (aid : assumed_fun_id) : string = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment
| TODO: move to assumed.rs? | ||
| TODO: move to builtins.rs? | ||
| *) | ||
| type assumed_ty = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment
| and external ADTs). | ||
| *) | ||
| | TTuple | ||
| | TAssumed of assumed_ty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
|
@sonmarcho That was intentional, this PR is only for the rust side. I'll propagate to the OCaml side separately. |
Fixes #231. This also removes the
BoxFreebuiltin that no longer exists in rustc, which fixes #230.