mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Merge branch 'trunk' into singleton-to-single
This commit is contained in:
commit
1e9cf7ba89
7 changed files with 74 additions and 6 deletions
|
@ -384,6 +384,15 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
),
|
||||
);
|
||||
|
||||
// isMultipleOf : Int a, Int a -> Bool
|
||||
add_type(
|
||||
Symbol::NUM_IS_MULTIPLE_OF,
|
||||
top_level_function(
|
||||
vec![int_type(flex(TVAR1)), int_type(flex(TVAR1))],
|
||||
Box::new(bool_type()),
|
||||
),
|
||||
);
|
||||
|
||||
// maxI128 : I128
|
||||
add_type(Symbol::NUM_MAX_I128, i128_type());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue