Clojurians
#lumo
<
2017-12-21
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

jiyinyiyong04:12:30

is lumo supporting macros differently, than JVM version of ClojureScript compiler?

jiyinyiyong04:12:03

I use m.cljs together with m.clj to define macros

jiyinyiyong04:12:39

(ns m.m
  (:require-macros [m.m]))

jiyinyiyong04:12:20

which is best practice in shadow-cljs.

honzabrecka12:12:56

I compiled lumo from current master (with latest clojurescript from current master as well) and I'm getting an error when trying to do:

(defn catch [x] x)
(catch 1)
;  No method in multimethod 'cljs.analyzer/parse' for dispatch value: catch at line 1...

jiyinyiyong15:12:37

@pesterhazy read it before when I want to write Macros in a REPL

jiyinyiyong15:12:24

now I have existing codebase compiled with shadow-cljs, so it was written in that way, rather than using :refer-macros.