scheme-for-max icon indicating copy to clipboard operation
scheme-for-max copied to clipboard

implement thread first and thread last macros

Open iainctduncan opened this issue 5 years ago • 2 comments

implement the clojure-style -> and ->> thread first and thread last macros so we can build compound statements in simple max messages, like: foo 1 2 -> + 10 ->> out 1

iainctduncan avatar Jan 31 '20 01:01 iainctduncan

Jon Arkell has got it working, he may improve it so will leave this open

iainctduncan avatar Sep 08 '21 19:09 iainctduncan

See also SRFI 197: Pipeline Operators.

lassik avatar Sep 08 '21 19:09 lassik

closing as haven't found any issues yet with Jon's implementation

iainctduncan avatar Oct 11 '22 14:10 iainctduncan