mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
add Set.fromList
This commit is contained in:
parent
581628f461
commit
49ca8f3e86
10 changed files with 166 additions and 35 deletions
|
@ -2240,8 +2240,8 @@ fn set_to_list(symbol: Symbol, var_store: &mut VarStore) -> Def {
|
|||
}
|
||||
|
||||
/// Set.fromList : List k -> Set k
|
||||
fn set_from_list(_symbol: Symbol, _var_store: &mut VarStore) -> Def {
|
||||
todo!()
|
||||
fn set_from_list(symbol: Symbol, var_store: &mut VarStore) -> Def {
|
||||
lowlevel_1(symbol, LowLevel::SetFromList, var_store)
|
||||
}
|
||||
|
||||
/// Set.insert : Set k, k -> Set k
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue