mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Remove FLOAT_ADD and similar
This commit is contained in:
parent
ddf980e475
commit
32b9b1ea60
6 changed files with 60 additions and 93 deletions
|
@ -313,18 +313,6 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
|
||||
// Float module
|
||||
|
||||
// isGt or (>) : Num a, Num a -> Bool
|
||||
add_type(
|
||||
Symbol::FLOAT_GT,
|
||||
SolvedType::Func(vec![float_type(), float_type()], Box::new(bool_type())),
|
||||
);
|
||||
|
||||
// eq or (==) : Num a, Num a -> Bool
|
||||
add_type(
|
||||
Symbol::FLOAT_EQ,
|
||||
SolvedType::Func(vec![float_type(), float_type()], Box::new(bool_type())),
|
||||
);
|
||||
|
||||
// div : Float, Float -> Float
|
||||
add_type(
|
||||
Symbol::FLOAT_DIV,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue