This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-22
Channels
- # announcements (8)
- # architecture (1)
- # beginners (49)
- # calva (7)
- # cljdoc (7)
- # cljs-dev (4)
- # clojure (44)
- # clojure-italy (1)
- # clojure-spec (12)
- # clojurescript (88)
- # community-development (2)
- # cursive (8)
- # datomic (16)
- # fulcro (15)
- # immutant (3)
- # joker (10)
- # keechma (4)
- # lambdaisland (1)
- # luminus (7)
- # pathom (1)
- # qa (2)
- # re-frame (11)
- # reitit (8)
- # remote-jobs (1)
- # rewrite-clj (10)
- # shadow-cljs (1)
- # slack-help (2)
- # sql (1)
- # tools-deps (2)
- # vim (4)
- # xtdb (3)
;; clj
$ clj
Clojure 1.10.0
user=> (#(inc %) 1 2)
Execution error (ArityException) at user/eval3 (REPL:1).
Wrong number of args (2) passed to: user/eval3/fn--4
;; cljs
$ clj -m cljs.main -c perc.core -re node -r
ClojureScript 1.10.520
cljs.user=>
cljs.user=> (#(inc %) 1 2)
2
Bug?Sorta aligns with javascripts more permissive arity handling, but could lead to less portable code