Fork me on GitHub
#clojure-spec
<
2020-01-19
>
Philipp Siegmantel13:01:00

Hello Everybody, what test runner/library do you use with clojure.spec.test.alpha/check? I found https://gist.github.com/jmglov/30571ede32d34208d77bebe51bb64f29 for integration with clojure.test but the errors it prints aren't verry informative. Is there something better?

dominicm15:01:48

Clojure core uses something custom

Philipp Siegmantel16:01:13

Do you have a link?

respatialized17:01:42

has anyone written an unofficial spec for EDN? I'm looking for a programmatic way of distinguishing between Clojure forms and plain EDN forms.

seancorfield18:01:31

@afoltzm This is the definitive word on EDN I believe https://github.com/edn-format/edn

respatialized18:01:23

yeah, I figured I'd probably have to create one myself on the basis of the format's description that suits my purposes, which also serves as a useful exercise for improving my understanding of spec itself.

respatialized18:01:23

yeah, I figured I'd probably have to create one myself on the basis of the format's description that suits my purposes, which also serves as a useful exercise for improving my understanding of spec itself.

andy.fingerhut21:01:54

Clojure core has an implementation of reading arbitrary Clojure forms, via clojure.core/read, and the EDN subset, via clojure.edn/read

andy.fingerhut21:01:26

Those implementations in Clojure itself are written in Java. The tools.reader contrib library also has implementations written in Clojure.