Fork me on GitHub
#clojure
<
2015-06-28
>
jwm04:06:28

anyone use vertx much with clojure

jwm04:06:58

kind of curious how it compares with immutant2 and others

matttylr09:06:26

Vert.x works v. well with Clojure

matttylr09:06:34

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

matttylr09:06:14

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.

estsauver09:06:44

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])

wiruzx14:06:52

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"))

meow14:06:11

@wiruzx: do you have an actual example?

meow14:06:52

Doh! Ignore me. I was distracted and wrong. 😉

meow14:06:26

sorry about that

wiruzx15:06:29

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?