convex icon indicating copy to clipboard operation
convex copied to clipboard

Transducer prototype

Open mikera opened this issue 4 years ago • 1 comments

We should implement a version of Clojure's transducers to see if these are a good fit for Convex on-chain code. Aim would be to enable composed operators to be used on data structures without the need to construct (and therefore pay juice cost!) for intermediate data structures.

Initial implementation should be pure Convex Lisp if possible. Dedicated CVM support can be considered later.

mikera avatar May 28 '21 09:05 mikera

Of potential interest, a Racket implementation : https://docs.racket-lang.org/rebellion/Transducers.html

mikera avatar Jun 01 '21 01:06 mikera