mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Dummy implementation that doesn't do what we want
This commit is contained in:
parent
b031eb0e54
commit
ff2c3d7945
10 changed files with 79 additions and 2 deletions
|
@ -501,6 +501,14 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
Box::new(float_type(flex(TVAR1))),
|
||||
);
|
||||
|
||||
// TODO: This is obviously wrong! Fix me!
|
||||
// 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))),
|
||||
);
|
||||
|
||||
// Bool module
|
||||
|
||||
// and : Bool, Bool -> Bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue