Fork me on GitHub
#clojure-spec
<
2022-01-13
>
Jakub Holý (HolyJak)10:01:44

Is there some place I can check for the status of spec2 and whether there is any tentative timeline? 🙏

🍿 5
❤️ 1
Alex Miller (Clojure team)12:01:13

No tentative timeline

👍 1
❤️ 1
vlaaad14:01:51

how about status?

Alex Miller (Clojure team)14:01:40

not sure what you're looking for

Alex Miller (Clojure team)14:01:53

it exists in development state

vlaaad15:01:35

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.

2
❤️ 1
Alex Miller (Clojure team)15:01:32

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.

❤️ 17
Ronny Li14:01:43

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.

mpenet14:01:59

Nope. There is a lib that attempted to bring that to spec1 but it's an experiment I think.