mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
add Set.contains
This commit is contained in:
parent
fdf020d89a
commit
5826da028c
6 changed files with 49 additions and 1 deletions
|
@ -969,6 +969,14 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
),
|
||||
);
|
||||
|
||||
add_type(
|
||||
Symbol::SET_CONTAINS,
|
||||
top_level_function(
|
||||
vec![set_type(flex(TVAR1)), flex(TVAR1)],
|
||||
Box::new(bool_type()),
|
||||
),
|
||||
);
|
||||
|
||||
// Result module
|
||||
|
||||
// map : Result a err, (a -> b) -> Result b err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue