mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
feat(builtins): Num.acos : Float -> Float
This commit is contained in:
parent
00445b3bc6
commit
4da2d7f101
9 changed files with 46 additions and 2 deletions
|
@ -375,6 +375,12 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
unique_function(vec![float_type(star1)], float_type(star2))
|
||||
});
|
||||
|
||||
// acos : Float -> Float
|
||||
add_type(Symbol::NUM_ACOS, {
|
||||
let_tvars! { star1, star2 };
|
||||
unique_function(vec![float_type(star1)], float_type(star2))
|
||||
});
|
||||
|
||||
// Bool module
|
||||
|
||||
// isEq or (==) : Attr * a, Attr * a -> Attr * Bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue