-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clojure.core/get
ought to support an optional 3rd arg: not-found
(default value)
#86
Comments
get
Clojure function ought to support 1 or 2 args, the latter being an optional default valueget
Clojure function ought to support 2 or 3 args, the latter being an optional default value
get
Clojure function ought to support 2 or 3 args, the latter being an optional default valueclojure.core/get
ought to support an optional 3rd arg: not-found
(default value)
ClojureRS/src/rust_core/get.rs Lines 15 to 27 in 1a1681f
references ClojureRS/src/persistent_list_map.rs Line 103 in 1a1681f
which does not currently take an optional default Value
|
A possible solution currently exists in my for src in '(get {} :k)' '(get {:k :v} :k)' '(get {} :k :not-found)' '(get {:k :v} :k :not-found)'; do cargo run -- -e "$src"; done nil
:v
:not-found
:v Matching what we see from the That is to say, supporting |
API for
clojure.core/get
- Clojure v1.10.2 (stable)nil :v :not-found :v
ClojureRS
1a1681f
supports onlyThe text was updated successfully, but these errors were encountered: