Is there some place I can check for the status of spec2 and whether there is any tentative timeline? 🙏
No tentative timeline
how about status?
not sure what you're looking for
it exists in development state
Maybe Not was given in November 2018. It’s been 3 years since the announcement of spec 2. In no way I’m trying to rush Clojure development — I see a lot of stuff done during this time, particularly around tools deps, but I’m nonetheless curious if spec alpha 2 is delayed due to other areas having higher priority during these 3 years, or was there maybe some unexpected turn of events that resulted in spec design going into unforeseen direction? I remember reading something about function specs… Curious how it’s going there.
still thinking about how to express the relationships we want to express at the function spec level. the provide/consumes stuff in Maybe Not is part of it, and mostly realized in schema/select, but there are other aspects too like (for example) wanting to be able to (easily) say that the elements in the output of filter are a subset of the elements in the input. and how to integrate that with the params in function definition in a clean way. I think we'll be spending more time on spec in '22.
Hi everyone, in https://m.youtube.com/watch?v=YR5WdGrpoug from 2018, Rich talks about defining a function that only requires a subset of a previously defined schema using s/select. Is this available now? I'm asking because I looked through the spec docs but didn't see anything. I might've just missed it though.
Nope. There is a lib that attempted to bring that to spec1 but it's an experiment I think.
spec2 is a wip and has schema/select https://github.com/clojure/spec-alpha2 (docs: https://github.com/clojure/spec-alpha2/wiki/Schema-and-select - differs a bit from the talk)