Fork me on GitHub
#core-async
<
2015-12-30
>
gabe15:12:38

has anyone had an issue using letfn inside a go block?

gabe15:12:26

I’m getting the exception bindings must be vector of even number of elements

gabe16:12:45

I should mention that I’m using cljs

gabe16:12:13

(go (letfn [(foo [x] x)] (foo 1))) doesn’t compile

bronsa17:12:23

@gabe: I fixed your markup, I'l try to have a look at this in the next few days

gabe17:12:41

@bronsa: Thanks!

bronsa18:12:32

ah, is this only for cljs?

bronsa18:12:19

I see. I'm not familiar with the cljs impl unfortunately so I probably won't fix it myself

gabe18:12:51

np. working around isn’t a big deal, but it is inconsistent