diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-07-13 18:05:14 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-07-13 18:05:14 -0400 |
| commit | f64aaf5960287f776232f909e145ac3f72fec73c (patch) | |
| tree | 1f6d7d36ed58ca4219a1bb89e7f63aeadf8cf0bb /builtins/array.h | |
| parent | 445f79cb70e72698283539b65e43fc71a47ad311 (diff) | |
Add array:pairs()
Diffstat (limited to 'builtins/array.h')
| -rw-r--r-- | builtins/array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtins/array.h b/builtins/array.h index 56794a22..1b7fa4cb 100644 --- a/builtins/array.h +++ b/builtins/array.h @@ -69,6 +69,7 @@ array_t Array$to(array_t *array, int64_t last); array_t Array$by(array_t *array, int64_t stride); array_t Array$reversed(array_t array); array_t Array$concat(array_t x, array_t y, const TypeInfo *type); +closure_t Array$pairs(array_t x, bool self_pairs, bool ordered, const TypeInfo *type); uint32_t Array$hash(const array_t *arr, const TypeInfo *type); int32_t Array$compare(const array_t *x, const array_t *y, const TypeInfo *type); bool Array$equal(const array_t *x, const array_t *y, const TypeInfo *type); |
