mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-31 09:07:21 +00:00
Add Dict.keepIf, Dict.dropIf, Set.keepIf, Set.dropIf
This commit is contained in:
parent
7b1c009ca2
commit
83ac8209ae
3 changed files with 106 additions and 0 deletions
|
@ -1484,6 +1484,8 @@ define_builtins! {
|
|||
24 DICT_IS_EMPTY: "isEmpty"
|
||||
25 DICT_MAP: "map"
|
||||
26 DICT_JOINMAP: "joinMap"
|
||||
27 DICT_KEEP_IF: "keepIf"
|
||||
28 DICT_DROP_IF: "dropIf"
|
||||
}
|
||||
9 SET: "Set" => {
|
||||
0 SET_SET: "Set" exposed_type=true // the Set.Set type alias
|
||||
|
@ -1506,6 +1508,8 @@ define_builtins! {
|
|||
17 SET_IS_EMPTY: "isEmpty"
|
||||
18 SET_MAP: "map"
|
||||
19 SET_JOIN_MAP: "joinMap"
|
||||
20 SET_KEEP_IF: "keepIf"
|
||||
21 SET_DROP_IF: "dropIf"
|
||||
}
|
||||
10 BOX: "Box" => {
|
||||
0 BOX_BOX_TYPE: "Box" exposed_apply_type=true // the Box.Box opaque type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue