This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-02
Channels
- # admin-announcements (2)
- # beginners (14)
- # boot (38)
- # cider (2)
- # cljsjs (3)
- # clojure (114)
- # clojure-russia (64)
- # clojure-taiwan (1)
- # clojurescript (40)
- # code-reviews (8)
- # component (2)
- # core-async (2)
- # cursive (7)
- # editors (3)
- # euroclojure (1)
- # hoplon (53)
- # leiningen (4)
- # om (129)
- # onyx (5)
- # proton (4)
- # protorepl (5)
- # re-frame (5)
- # reagent (11)
- # untangled (5)
- # yada (3)
I'm having trouble getting my head around how to sensibly create recursive functions, of the form (my-fun foo bar1 bar2 bar3 bar4)
If I use destructuring, i end up with a seq of the remaining bars and that means I can't use recur
You can use an explicit loop and then recur to it