Skip to content

[Lean] Pattern-matching on float literals #1788

@abentkamp

Description

@abentkamp

Lean does not seem to support pattern matching on Floats.

match s {
        0.0 => "is zero",
        _ => "is not zero",
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssue in one of the backends (i.e. F*, Coq, EC...)leanRelated to the Lean backend or library

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions