We're updating the issue view to help you get more done. 

peek does not support transient vectors

Description

Appears to be an oversight, given that peek is a read operation.

Input:

1 (peek (transient [:a :b :c]))

Expected outcome:

1 :c

Actual outcome:

1 2 Unhandled java.lang.ClassCastException clojure.lang.PersistentVector$TransientVector cannot be cast to clojure.lang.IPersistentStack

Environment

None

Status

Assignee

Unassigned

Reporter

import

Labels

Approval

Triaged

Patch

None

Affects versions

Release 1.10

Priority

Major