qi icon indicating copy to clipboard operation
qi copied to clipboard

Form to augment flows

Open countvajhula opened this issue 1 year ago • 0 comments

We've considered an aug form to "augment" the flow:

(-< _ f ...)
(-< f ... _)

But since it's unclear whether to augment on the right or the left, it didn't seem that useful as a distinct form. Upon further reflection, we could have the aug form respect the current chirality, so that:

(~> (aug f ...))

would be equivalent to

(~> (-< f ... _))

and

(~>> (aug f ...))

would be equivalent to

(~> (-< _ f ...))

countvajhula avatar Dec 07 '23 09:12 countvajhula