mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Implemented INT_NE_i64
This commit is contained in:
parent
8befd12355
commit
71258e0e59
6 changed files with 72 additions and 1 deletions
|
@ -342,12 +342,18 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
|
||||
// Int module
|
||||
|
||||
// equals : Int, Int -> Bool
|
||||
// equals or (==) : Int, Int -> Bool
|
||||
add_type(
|
||||
Symbol::INT_EQ_I64,
|
||||
unique_function(vec![int_type(UVAR1), int_type(UVAR2)], bool_type(UVAR3)),
|
||||
);
|
||||
|
||||
// not equals or (!=) : Int, Int -> Bool
|
||||
add_type(
|
||||
Symbol::INT_NEQ_I64,
|
||||
unique_function(vec![int_type(UVAR1), int_type(UVAR2)], bool_type(UVAR3)),
|
||||
);
|
||||
|
||||
// highest : Int
|
||||
add_type(Symbol::INT_HIGHEST, int_type(UVAR1));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue