Unified map values are returned as LVar rather than the unified value in ClojureScript

Description

This works correctly in core.logic for clojure:

In ClojureScript, I get this though:

Environment

ClojureScript

Activity

Show:
Norman Richards
December 31, 2014, 8:06 PM

The clojurescript code did not implement -walk-term for PersistentArrayMap.

I've copied the PersistentHashMap implementation for PersistentArrayMap. Note: the current implementation (walk-term-map*) does not actually work for hash maps due to the use of -next and -first. Changing these to next and first would fix this for hash maps, but I'm not sure if this has any implications in clojurescript or not.

David Nolen
December 31, 2014, 8:35 PM

Norman, do you mean -next, -first doesn't work for array maps?

Assignee

David Nolen

Reporter

Darrick Wiebe

Labels

None

Approval

None

Patch

None

Priority

Major
Configure