meander

All things about https://github.com/noprompt/meander Need help and no one responded? Feel free to ping @U5K8NTHEZ
2021-02-16T22:41:47.047800Z

I just started testing meander in cljs

2021-02-16T22:42:04.048Z

Are there any restrictions?

2021-02-16T22:42:39.048200Z

have a problem using cata in rhs, it throws an error

2021-02-16T22:43:38.048800Z

Resource: <eval>:1:1
Use of undeclared Var ribelo.meander-playground/java

2021-02-16T22:50:51.049Z

I see that cata is used in tests like this

2021-02-16T22:51:37.049500Z

so either there's a regression, or more likely I have a shadow-cljs problem somewhere

jimmy 2021-02-16T22:52:22.050600Z

Could you post your code that is throwing that error?

2021-02-16T22:52:46.050900Z

(m/rewrite [1 2 3]
  [!ks ...]
  [(m/cata !ks) ...]
  ?x ?x)

2021-02-16T22:54:15.051100Z

anything using cata on the right side causes an exception as above

jimmy 2021-02-16T22:56:12.052200Z

I’m not getting that error in a bare clojurescript repl (the code just works). I doubt I would get it in shadow-cljs. It looks very unrelated to meander. Are you sure you don’t have some error elsewhere in your code?

jimmy 2021-02-16T22:57:28.052800Z

The error seems to think you are referring to something called java that doesn’t exist.

2021-02-16T22:57:36.053Z

I will create a new completely empty project folder and check again.

2021-02-16T23:04:36.053200Z

there's definitely a problem with shadow-cljs

2021-02-16T23:04:51.053400Z

on an empty project I get the same error

jimmy 2021-02-16T23:07:51.054400Z

Can't look right now. But if you can push that project to github I can definitely take a look later tonight

2021-02-16T23:09:45.054600Z

sure, but first I'll just check if it worked on the previous version of shadow