Fork me on GitHub
#tools-deps
<
2020-07-07
>
deactivateduser15:07:43

@seancorfield might be time to consider creating a #seans-deps-edn channel here? 😉

😆 6
deactivateduser23:07:40

Is there a preference or recommendation between these two (equivalent) styles of specifying a version:

{:deps {some/library {:mvn/version "2.7.42"}}}
and
{:deps {some/library #:mvn {:version "2.7.42"}}}
? (yes I realise this is a stylistic question not a technical one - I’m wondering if there’s a preferred / recommended / idiomatic style for deps.edn content)

hiredman23:07:16

I'd say namespaced maps are not mentioned in https://github.com/edn-format/edn, so if deps.edn is intended to live up to the .edn on the end, leave out the namespaced maps

💯 6
deactivateduser23:07:47

Ooooh that’s very interesting! Thanks!

Alex Miller (Clojure team)00:07:27

the Clojure edn reader does read namespace maps but hiredman is correct that this is not currently part of the spec

👍 3