Skip to content

adderall 0.1.2

Choose a tag to compare

@algernon algernon released this 25 Jul 11:37
· 52 commits to master since this release
adderall-0.1.2
0444ff3

Features

Set unification support

It is now possible to place logic variables within sets, adderall learned how to traverse them. This means one can now do:

(run* [q]
  (memberᵒ 3 (set [1 2 q q])))
;=> [3]

Support lazy results

One can now pass :lazy as the first argument to the run and run* macros, and they will return a generator, and not force them into a list.

Miscellaneous: Drop the toolz dependency

The library only used the interleave function from toolz, which was an overkill. It now ships with an internal implementation of the function, and drops the toolz dependency.