Skip to content

Contracts for datastructures? #99

@markuspf

Description

@markuspf

Introduce a way to check inputs for items being put into datastructures.

For instance for heaps, provide a way for the user to provide a function contract that validates that only integers a pushed onto the heap, otherwise errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions