Skip to content

S-expr representation of literals doesn't need to contain types #34

Description

@ashiven

Currently we represent literals like 1 and 1_2 as (lit 1 Nat) and (lit 1 (idx 2)) to distinguish between them.

This could have simply been achieved via representations (lit 1) and (lit 1_2) which is more compact and consistent than suddenly encoding separate type annotations in these literal representations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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