3 ms·
Out of curiosity - what is the correct form in this case? Ed: I'm guessing a key => list of deps, maybe?
by e12e 4y ago
Out of curiosity - what is the correct form in this case?
Ed: I'm guessing a key => list of deps, maybe?
- grumpyprole 4y agoI think you might be asking for a type :)
- jdminhbg 4y agoNot 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.
- grumpyprole 4y agoThe 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.
- roenxi 4y agoIt 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.