Yup. core.logic uses persistent hash maps to store logic variable bindings.
David
On Sun, Nov 6, 2011 at 10:32 PM, daly wrote:
> One of the benefits of immutable data structures is the
> ability to do speculative execution. You can compute an
> answer and if you don't like i
One of the benefits of immutable data structures is the
ability to do speculative execution. You can compute an
answer and if you don't like it you can just abandon it.
This is useful for techniques like backtracking.
I don't see this idea mentioned anywhere in Clojure but
I think it