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

This commit is contained in:
lrosa007 2020-11-01 09:54:00 -05:00
parent 4da2d7f101
commit bd696e1f6f
9 changed files with 45 additions and 3 deletions

View file

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