Skip to content
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

Wrong suggestion for (fn [x] [x x]) #248

Open
or opened this issue Jun 18, 2022 · 1 comment
Open

Wrong suggestion for (fn [x] [x x]) #248

or opened this issue Jun 18, 2022 · 1 comment

Comments

@or
Copy link

or commented Jun 18, 2022

Howdy! I ran into this:

(map (fn [x] [x x]) [1 2 3 4])

will result in this advice:

Consider using:
  x
instead of:
  (fn [x] [x x])

I'm not sure which rule it is trying to apply here.

@replomancer
Copy link
Contributor

replomancer commented Sep 30, 2022

Hello 👋
It looks like yet another form of #49
My bad. I can't actually tell if it's related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants