feat(builtins): Num.acos : Float -> Float

This commit is contained in:
lrosa007 2020-11-01 09:27:42 -05:00
parent 00445b3bc6
commit 4da2d7f101
9 changed files with 46 additions and 2 deletions

View file

@ -350,6 +350,12 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
top_level_function(vec![float_type()], Box::new(float_type())),
);
// acos : Float -> Float
add_type(
Symbol::NUM_ACOS,
top_level_function(vec![float_type()], Box::new(float_type())),
);
// Bool module
// and : Bool, Bool -> Bool