Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Docs by
retagged by

(doc get) returns
([map key] [map key not-found])
Returns the value mapped to key, not-found or nil if key not present."

As 'get' works for a vector, as well as a map, I think the function addresses the associative abstraction, so this format would be less misleading:

([associative key] [associative key not-found])

Thanks to the experts at ClojureVerse who confirmed that my confusion at the example was justified and suggested I report it here.

1 Answer

0 votes