Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

[FR] Validate on every assoc #2

Open
arrdem opened this issue Jun 30, 2015 · 0 comments
Open

[FR] Validate on every assoc #2

arrdem opened this issue Jun 30, 2015 · 0 comments

Comments

@arrdem
Copy link
Owner

arrdem commented Jun 30, 2015

It should be possible to hack the TaggedVal type so that whenever an assoc or dissoc occurs the impacted validation functions are lazily re-evaluated. This allows users to construct records which can never enter an invalid state.

Suggested by @maximoburrito at my last Austin Clojure meetup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant