I understand that the closure lists and vectors are mostly interchangeable and work as a sequence of order using one or the other The lack of need to bid in conj or in the case of a vector.
Then why
({} in () ((1 2 (3) 4) fail, while < / P>
(in {} '([1 2] [3 4])) is successful?
This is an artwork of how a map has been implemented.
The map is conceptually written by many codes in the Java.util.Map.Entry . It is that special case code for treating length 2 vectors in a map entry (in epicestiastemapacans) But not for lists.
It is a proper matter to give distractions to this special treatment, because they are convenient features for representing map entry written words in the code. You can write stuff:
(conj {} [: a 1]) => {: 1}
No comments:
Post a Comment