This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-26
Channels
- # babashka (7)
- # beginners (85)
- # calva (39)
- # cider (3)
- # clara (1)
- # clj-kondo (10)
- # clojure (194)
- # clojure-europe (36)
- # clojure-madison (2)
- # clojure-nl (13)
- # clojure-spec (11)
- # clojure-uk (2)
- # clojurescript (17)
- # community-development (5)
- # component (9)
- # conjure (4)
- # core-async (3)
- # cursive (32)
- # data-science (26)
- # datomic (31)
- # graalvm (22)
- # holy-lambda (31)
- # honeysql (7)
- # introduce-yourself (1)
- # jobs (9)
- # jobs-rus (1)
- # lsp (3)
- # malli (9)
- # off-topic (54)
- # pathom (27)
- # pedestal (6)
- # portal (1)
- # re-frame (4)
- # releases (1)
- # remote-jobs (1)
- # sci (3)
- # shadow-cljs (4)
- # spacemacs (13)
- # vim (14)
- # xtdb (3)
Feedback request, given:
(defrecord SomeRecord [numeric-field])
(defrule some-rule
[SomeRecord
numeric-field
(> numeric-field 10)]
=>
(<do some thing>))
Should this rule:
A. Fail to compile
B. Compile and Assert truthiness of “numeric-field”
C. Be purged from existence, as it constitutes some form of abomination
The current behavior is A
as it doesn’t adhere to the schema of what a constraint should be, and there are implicit assumptions in the codebase against it.🅰️ 3