mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
added placeholder implementation
This commit is contained in:
parent
dfd14f8e49
commit
84af26d813
3 changed files with 32 additions and 0 deletions
|
@ -1374,6 +1374,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