This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-05
Channels
- # announcements (1)
- # beginners (72)
- # boot (4)
- # calva (35)
- # cider (8)
- # clara (13)
- # cljdoc (31)
- # cljs-dev (34)
- # clojure (64)
- # clojure-europe (1)
- # clojure-finland (3)
- # clojure-italy (23)
- # clojure-losangeles (3)
- # clojure-nl (35)
- # clojure-uk (19)
- # clojurescript (26)
- # cursive (19)
- # datomic (12)
- # duct (5)
- # editors (7)
- # emacs (25)
- # fulcro (40)
- # funcool (5)
- # jobs (2)
- # leiningen (3)
- # luminus (2)
- # lumo (3)
- # off-topic (19)
- # pathom (3)
- # planck (2)
- # reagent (6)
- # remote-jobs (4)
- # rum (1)
- # shadow-cljs (23)
- # spacemacs (6)
- # tools-deps (12)
Looking for a lib to use for headless interaction testing for a ring html app. In the past I used https://github.com/xeqi/kerodon but has been a while ago. Any suggestions please?
maybe I could use it, but then I would have to learn it. usually I run into issues with wrappers and have to use the wrapped thing anyway
I see others agree too https://clojureverse.org/t/best-library-for-querying-html/1103/12
Has anyone seen this error before? No protocol method ICounted.-count defined for type number
I've used async/await in javascript, and was thinking about how the concept correlates to Clojure concurrency. I thought the idea maps well to how Clojure does futures. Promises are similar to futures anyway, right? Is it possible, or is anyone working on the ability to use futures in Clojurescript the way they are used in Clojure? eg.
(def my-future (future (/ 1 0))) ;; runs async
@my-future ;; waits till completion
the problem is that you would have to rewrite the entire scope that @my-future
is used within to be inside of my_future.then( ... )
in the resulting JS
I have a function f
that has metadata in namespace foo.a
. Namespace foo.b
requires foo.a
and refers f
. When I try to cljs.js/eval
(f)
with :ns 'foo.b
I get
{:error #error {:message "ERROR", :data {:tag :cljs/analysis-error}, :cause #object[TypeError TypeError: foo.a.f is not a function]}}
and if I (type f)
I get
cljs.core/MetaFn
What's going on here? I can't quite figure it out.