Skip to content

Array operations (map, fold, slice) #133

Description

@aallan

The spec defines future array operations map, fold, and slice as built-in functions (Chapter 4, Section 4.7).

These depend on #60 (abilities and type constraints) to express the type constraints on the mapping/folding functions. Without abilities, the higher-order function arguments cannot be properly typed.

Spec reference: Chapter 4 (Expressions), Section 4.7 — "Future array operations (map, fold, slice) will be added alongside the module system and abilities."

Metadata

Metadata

Assignees

No one assigned

    Labels

    designFuture language design (spec §0.8)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions