This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
@zentrope: sorry, was offline
Have recently built a logistics app using Vertx (microservices talking asynchronously to couriers like DHL and FedEx) all in Clojure and it's been a great experience
can't say how it compares to immutant2 as I've not used that but Vert.x does fit well with the clojure mindset of preferring tools over frameworks.
Is there something akin to (declare) for records? I’d like to be able to have a records defined with prismatic schema that reference each other. Something like
(s/defrecord RecordA
[type-b-record :- RecordB])
(s/defrecord RecordB
[type-a-record :- RecordA])
Is there a reason why if-let
doesn't support multiple bindings?
I mean:
(if-let [x ...
y ...
z ...]
(prn "x y z are here")
(prn "something is nil"))
@meow: if-let only accept one binding as far as I know (source: https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L1727)
Is there any reason for this? I use this in other languages and found it really useful. Maybe in Clojure there is other ideomatic way to chain optional values?
Thanks @estsauver