added placeholder implementation

This commit is contained in:
Theo Felippe 2021-11-11 19:13:42 +00:00
parent dfd14f8e49
commit 84af26d813
3 changed files with 32 additions and 0 deletions

View file

@ -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
}