We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This warning shows up when *warn-on-reflection* is set to true.
*warn-on-reflection*
It comes from amb:
amb
(defmacro ^{:arglists '([& forms]) :doc "In an `ap` block, evaluates each form sequentially and returns successive results."} amb ([] `(?> none)) ([form] form) ([form & forms] (let [n (inc (count forms))] `(case (?> (seed (range ~n))) ; <- missing `int` cast ~@(interleave (range) (cons form forms))))))
(case (int (?> (seed (range ~n)))) …) fixes the issue
(case (int (?> (seed (range ~n)))) …)
The same applies to amb=.
amb=
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This warning shows up when
*warn-on-reflection*
is set to true.It comes from
amb
:(case (int (?> (seed (range ~n)))) …)
fixes the issueThe same applies to
amb=
.The text was updated successfully, but these errors were encountered: