The ApplyOne and ApplyLast operators in DIVEX and Composition Language 1 (Video)

In this video, I demonstrate the ApplyOne and ApplyLast operators.

ApplyOne can be used to fix the value of one element in an array parameter. The resulting function will still contain the array parameter but it will represent the remainder of the array. ApplyLast also fixes the value of one element in an array parameter but it also removes the array parameter from the resulting function, basically closing the array parameter.

You can try this example in the browser here: https://divex.dev/try-in-the-browser-cscompose/?sample=ApplyOneApplyLast

Leave a Reply

Your email address will not be published. Required fields are marked *