Check for pair when conj vector on map

Description

For parity with Clojure, add runtime checks in map conj implementations such that vector arguments must be pairs.

Clojure:

ClojureScript:

Rationale: Even though this would reject some programs, those programs are incorrect and non-portable to Clojure.

Environment

None

Assignee

Mike Fikes

Reporter

Mike Fikes

Labels

Approval

None

Patch

Code and Test

Priority

Major
Configure