Skip to content

Simplify checking for a digit #25

@pmoura

Description

@pmoura

Instead of:

numero(D) --> [D], { "0" =< [D], [D] =< "9"}.

you can simply write:

numero(D) --> [D], {0'0 =< D, D =< 0'9}. 

There are other similar cases in the code where list of codes are compared instead of comparing the codes directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions