| Record | List | Tuple | Array | Set | Dict | |
|---|---|---|---|---|---|---|
| Create empty | {} | [] | () | Array.empty | Set.empty | Dict.empty |
| Create | { a = 1 } | [ 1, 2 ] | ("a", 1) | Array.fromList [ 1, 2 ] | Set.fromList [ 1, 2 ] | Dict.fromList [ ("a", 1) ] |
| isEmpty | N/A | List.isEmpty | N/A | Array.isEmpty | Set.isEmpty | Dict.isEmpty |
| map | N/A | List.map | N/A | Array.map | Set.map | Dict.map |
| Getter | record.a .a record |
Dict.get | ||||
| Setter | { record | a = 2 } |
Dict.insert
Dict.update |