This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-11
Channels
- # announcements (6)
- # architecture (9)
- # beginners (120)
- # calva (13)
- # cider (28)
- # clj-kondo (8)
- # cljs-dev (7)
- # clojure (113)
- # clojure-europe (13)
- # clojure-italy (7)
- # clojure-nl (9)
- # clojure-spec (44)
- # clojure-uk (7)
- # clojuredesign-podcast (15)
- # clojurescript (18)
- # cursive (9)
- # data-science (3)
- # datomic (32)
- # defnpodcast (1)
- # events (2)
- # fulcro (6)
- # jobs (1)
- # kaocha (5)
- # london-clojurians (2)
- # luminus (2)
- # nyc (2)
- # off-topic (54)
- # ring (6)
- # shadow-cljs (136)
- # sql (1)
- # testing (2)
- # tools-deps (64)
- # vim (83)
I’ve just released a Fulcro Native template project, and short YouTube video covering how it works. It demonstrates how easy it is to get a full-stack webapp and native mobile app running in the same project (with live hot code reload for both web/native), logic sharing, all talking to the same server back-end. https://github.com/fulcrologic/fulcro-native-template https://www.youtube.com/watch?v=03I9uRxVQsc
let
and letfn
have joined the https://github.com/nedap/speced.def family. Sample usage:
(speced/let [^String a x ;; assert that `a` is a `String`, keep the type hint
{:keys [^long? b]} y ;; assert that `b` satisfies `long?`, infer a `Long` type hint
[[[[^{::speced/spec (spec/coll-of boolean?)} c]]]] z] ;; assertions support deep destructuring and custom inline specs
,,,)
Enjoy!Hello @U45T93RA6! Do I understand correctly that speced does not generate s/fdef
and thus does help if you want to do generative testing https://clojure.org/guides/spec#_testing ? Thank you!
Hi!
Indeed it does not emit fdef
s. It only emits :pre/:post conditions, or assert
statements (which are essentially the same mechanism).
So it doesn't particularly help generative testing. But it does encourage creating more (and better) specs, which can well be reused in the context of generative tests.
At Nedap we certainly put in practice both this library, and the occasional generative testing.
tldr, it's orthogonal.
clj-kondo v2019.10.11-alpha: mostly minor bugfixes and enhancements https://github.com/borkdude/clj-kondo/releases/tag/v2019.10.11-alpha
Proudly present a new BugFix release for data-test. https://github.com/DomainDrivenArchitecture/data-test