Skip to content

Allow for literal specification of values in contracts #168

Closed
@gsinclair

Description

@gsinclair

The contract String => Any requires the argument to be a string object.

The contract 5 => Any requires the argument to be the actual value 5.

So how do I specify that the argument should be the actual value String? This is how it could be specified: Literally[String] => Any.

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