What is clojure eduction?

A call (eduction ..)returns something similar to a sequence in the REPL (i.e., things like " (1 2 3)"). But if you check if this return value is a sequence (through seq?), you will get false.

Question: What is Eduction? Is this just a list of values ​​that will be supplied one by one to the reduction function?

+4
source share
1 answer

According to docs :

, . xforms final coll / coll. , /.

, , - /. , :

Seqs , ,

, , /, seq.

+4

Source: https://habr.com/ru/post/1629996/


All Articles