Fork me on GitHub
#clojurescript
<
2019-07-13
>
dabrazhe12:07:02

When I try to call the (time f) function in a Node repl it just return the f result, not the elapsed time. Does cjls work different for (time)?

potetm12:07:22

Not sure what you mean. time should print the time and return just the result.

g7s13:07:29

Hi, I am trying to (defmulti / dispatch) and when I call (defmethod / ...) it throws

No protocol method IMultiFn.-add-method defined for type undefined: 
Something weird is going on with / as the symbol because if I try the same with different symbol everything works. Any hints?

g7s13:07:10

[org.clojure/clojurescript "1.10.520"]

mfikes15:07:45

@g7s There are likely bugs surrounding that use case. I don't think you are doing anything wrong. I'd suggest filing a JIRA.

g7s15:07:14

@mfikes oh ok I figured that it should be some kind of a bug. I will fill a JIRA. Thank you