Hi!

this is straightforward with Transducers, e.g.,

(Take n: 5) <~ #(1 2 3 4 5 6 7 8).
or
#(1 2 3 4 5 6 7 8) transduce take: 5.

The different primitives like take, drop, map, filter, etc. are composable and do not generate intermediate representations. The bad news are, that the Pharo port is incomplete and I won't have the time until April to finish it.

Best, Steffen

Am .01.2018, 10:57 Uhr, schrieb Sven Van Caekenberghe <s...@stfx.eu>:

5



Reply via email to