Skip to content

Assignment As Well As Extraction #2

Description

@GregYannes

The Arr_Index() function is inspired by pluck() in the R language. Now pluck() may be used to assign as well as to extract:

# Extract.
pluck(.x, ...)


# Assign.
pluck(.x, ...) <- value

We might analogously implement Arr_Index() as a property the user may both assign and extract:

' Extract.
Arr_Index(arr, Array(…))


' Assign.
Let Arr_Index(arr, Array(…)) = 0

Set Arr_Index(arr, Array(…)) = Nothing

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions