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

[FR] Validate on every assoc #2

@arrdem

Description

@arrdem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions