mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Merge branch 'trunk' into builtins-refactor-list-take
This commit is contained in:
commit
4359dcff73
29 changed files with 593 additions and 424 deletions
|
@ -1388,6 +1388,13 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
Box::new(flex(TVAR1)),
|
||||
);
|
||||
|
||||
// isOk : Result * * -> bool
|
||||
add_top_level_function_type!(
|
||||
Symbol::RESULT_IS_OK,
|
||||
vec![result_type(flex(TVAR1), flex(TVAR3))],
|
||||
Box::new(bool_type()),
|
||||
);
|
||||
|
||||
types
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue