Skip to content
Snippets Groups Projects
Commit 7b2ca810 authored by John Ericson's avatar John Ericson
Browse files

Cleanup number primop conversion names

Don't use "extend" or "narrow" in some of the user-facing primops
names for conversions.

  - Names like `narrowInt32#` are misleading when `Int` is 32-bits.

  - Names like `extendInt64#` are flat-out wrong when `Int is
    32-bits.

  - `narrow{Int,Word}<N>#` however map a type to itself, and so don't
    suffer from this problem. They are left as-is.
parent 32e0ca22
No related branches found
No related tags found
No related merge requests found
Pipeline #28024 failed
Showing
with 386 additions and 385 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment