2 ms·
I have had some plans on updating the SRFI to add some reducers I did not include because I never actually used transducers before writing the initial implement
by bjoli 3y ago
I have had some plans on updating the SRFI to add some reducers I did not include because I never actually used transducers before writing the initial implementation.
I don't really understand what you mean by types (my implementation stays monomorphic so new types are easily introduced by TYPE-transduce) , but I have thought about generalising things like numerical ranges by having something like unfold-transduce.
- ThatGeoGuy 3y ago> but I have thought about generalising things like numerical ranges by having something like unfold-transduce. This is more or less what I was wondering about. Numerics, ports, SRFI-41 streams, etc. There's a lot of stuff that isn't in e.g. r7rs-small but is more or less expected in most Scheme implementations.
- bjoli 3y agoWell. Without generic functions it is impossible to specify a "complete" API. I mention it in "Scope considerations" in the srfi document