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

Support for Threading Macros #38

Open
alexjgriffith opened this issue Dec 2, 2022 · 2 comments
Open

Support for Threading Macros #38

alexjgriffith opened this issue Dec 2, 2022 · 2 comments

Comments

@alexjgriffith
Copy link

Threading seems to be broken when there is more than one operation

For example:

(fn c [b] (-> b (+ 1) (/ 2)))

yeilds an error

(list ( (symbol) (symbol)
 (list ( (symbol) (number) ))
 (list ( (symbol)
  (ERROR {)
  ))
 ))

whereas

(fn e [b] (-> b (+ 11)))

yeilds something workable

(fn ( fn docstring: (symbol)
 (parameters [
  (binding (symbol))
  ])
 (list ( (symbol) (symbol)
  (list ( (symbol) (number) ))
  ))
 ))
@otommod
Copy link
Contributor

otommod commented Dec 30, 2022

I cannot reproduce this at all. Even the second example is kind of weird: how do you get a symbol as a docstring? That's literally impossible, only string matches.

@TravonteD
Copy link
Owner

@alexjgriffith can you verify that this occurs on the latest tag?

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

No branches or pull requests

3 participants