Skip to content

feat: add reduce & map operations on lists #40

@daoio

Description

@daoio

Overview

  • Allocate new memory array of the same size.
  • Iterate over every element of a given list, and add modified value to the corresponding pos in newly allocated memory array.
  • Return new memory array as a list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerAnything related to (elser.compiler) namespace (generation of Yul code)syntaxAnything related to syntax of Elser language.type-systemAny addition/change to the type-system and type-checking process.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions