Skip to content

Example in README doesn't typecheck #57

@fairflow

Description

@fairflow

lakefile: require Qq from git "https://github.com/leanprover-community/quote4" @ "master"
imported and opened Qq fine; simple examples work but:

def betterApp {α : Q(Sort u)} {β : Q($α → Sort v)} (f : Q((a : α) → $β a)) (a : Q($α)) : Q($β $a) := q($f $a)

error in Q((a : α) → $β a)) reported:
unsupported implicit auto-bound: α is not a level name
humble apologies if this is a simple user error!

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