mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Switch from floats to usize
This commit is contained in:
parent
d976f2fc93
commit
c8f6762deb
4 changed files with 8 additions and 8 deletions
|
@ -505,8 +505,8 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
// bytesToU16 : Float a -> Float a
|
||||
add_top_level_function_type!(
|
||||
Symbol::NUM_BYTES_TO_U16,
|
||||
vec![float_type(flex(TVAR1))],
|
||||
Box::new(float_type(flex(TVAR1))),
|
||||
vec![nat_type()],
|
||||
Box::new(nat_type()),
|
||||
);
|
||||
|
||||
// Bool module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue