[spec] Add support for undefining a spec

Description

Currently there is no way to remove a spec from the registry. During interactive development, particularly when working on complicated or recursive specs, it would be useful to have this ability.

Proposed: Make s/def take nil as a way to "clear" a spec:

Patch: clj-2060-4.patch

Environment

None

Activity

Show:
Alex Miller
November 16, 2016, 5:55 PM

Moving to 1.9 so it will get looked at, may not be added.

Alex Miller
May 10, 2017, 7:03 PM

Updated patch to apply to spec.alpha

Alex Miller
June 29, 2017, 10:25 PM

Update s/def docstring as well in -4 patch.

Alex Miller
June 26, 2018, 5:25 PM

Applied

Completed

Assignee

Alex Miller

Reporter

Alex Miller

Labels

Approval

Ok

Patch

Code and Test

Fix versions

Affects versions

Priority

Major
Configure