did the spec for conj. I first tried to account for “wrong inputs” like (conj {:a 1} 1)
, but this lead to complex spec. Now I just accounted for these wrong inputs while generatively checking the spec.
https://github.com/slipset/speculative/pull/176/files
TIL about use of conj
with a map.
Makes sense, but feels very strange at first.
https://re-find.it/?args=%7B:a%201%7D%20%5B:b%202%5D&ret=%7B:a%201,%20:b%202%7D&exact=true