News for hackers. Stuff that matters.
Re:Clojure Turns 15 panel discussion video by e12e on Monday February 13, 2023 @03:29PM (#34779897)
Out of curiosity - what is the correct form in this case?

Ed: I'm guessing a key => list of deps, maybe?

Re:Clojure Turns 15 panel discussion video by grumpyprole on Monday February 13, 2023 @03:39PM (#34780066)
I think you might be asking for a type :)
Re:Clojure Turns 15 panel discussion video by jdminhbg on Monday February 13, 2023 @03:44PM (#34780138)
Not really. This is a syntactic error, not a type error.

To expand, this is the equivalent of something like {"a": 1, "b":}. The type checker in something like Typescript wouldn't ever come into play, because it's not legal syntax to begin with.

Re:Clojure Turns 15 panel discussion video by grumpyprole on Monday February 13, 2023 @09:15PM (#34784291)
The parent was asking for the correct form, the syntax of EDN is necessary but not sufficient to specify this. A type (or a schema) is needed. Even if documented manually ad-hoc, that is better than nothing and would stop people needed to search the internet for examples.
Re:Clojure Turns 15 panel discussion video by roenxi on Wednesday February 15, 2023 @05:09AM (#34801923)
It should be:

    {:deps
     {ring/ring-devel {:mvn/version "1.9.6"}
      ring/ring-core {:mvn/version "1.9.6"}}}
There was one too many map.