-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
FeatureA change that introduces a new featureA change that introduces a new featureXQFOAn issue related to Functions and OperatorsAn issue related to Functions and Operators
Description
It is trivial to append items to a sequence, but it is a bit counterintuitive to do so the functional way, for example within chains:
(1, 3, 5)
=> fn { ., 7, 9 }()
=> string-join(',')I propose adding a simple fn:append function, as counterpart of array:append:
(1, 3, 5)
=> append((7, 9))
=> string-join(',')It is easier to prepend items: we already have fn:insert-before (and array:insert-before).
joewiz
Metadata
Metadata
Assignees
Labels
FeatureA change that introduces a new featureA change that introduces a new featureXQFOAn issue related to Functions and OperatorsAn issue related to Functions and Operators