Fork me on GitHub
#clojurescript
<
2016-06-12
>
roberto16:06:33

anyone knows where start-server is coming from in the chord readme? https://github.com/jarohen/chord

jarohen16:06:56

Hi @roberto - that should be org.httpkit.server/run-server - will update the readme now. thanks šŸ™‚

roberto16:06:13

cool, thank you

imaximix17:06:15

Hello, I've got a tiny question. How come macroexpand works with quote but not with syntax quote?

darwin17:06:24

@imaximix: do you have a specific example? Iā€™m afraid your question is too general. The fact is that syntax quote works differently than quote so for some syntax quoted inputs macroexpand will produce different results than for quoted inputs. But that does not mean that macroexpand does not work.

imaximix17:06:08

@darwin Yes. (macroexpand '(n)) => (n) (macroexpand `(n)) => Assert Failed. Argument to macroexpand must be quoted.

imaximix17:06:32

I'm on clojurescript 1.8.51 if that helps

darwin18:06:38

aha, I think first quote is mandatory to allow you to pass a form into macroexpand, otherwise REPL would eval it before passing into macroexpand

darwin18:06:12

that is the difference between quoted version and syntax-quoted version, first quote allows just passing such input into macroexpand, it gets removed

imaximix18:06:45

thanks for the help šŸ˜„

samueldev18:06:00

nice work on 0.5.4

richiardiandrea18:06:14

figwheel should have a logo so that we can add it to the reactions here šŸ™‚