Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finite Set elimination not computing fully when typechecking #55

Open
solomon-b opened this issue Aug 30, 2023 · 0 comments
Open

Finite Set elimination not computing fully when typechecking #55

solomon-b opened this issue Aug 30, 2023 · 0 comments
Labels

Comments

@solomon-b
Copy link
Collaborator

def maybe→list : Maybeₚ ⇒ Listₚ :=
  λ p⁺ ⇜ p⁻ ⇝
    let n+ := { .just = 1 , .nothing = 0 } p⁺;
    return n+ ⇜ p⁻ ∘ (absurd (fib Maybeₚ p⁺))

     🭁 std-lib/Tutorial.poly
     │
 187 │     return n+ ⇜ p⁻ ∘ (absurd (fib Maybeₚ p⁺))
     │
     █ [E006] Could not solve ℕ = { .just = ℕ, .nothing = ℕ } p⁺
@solomon-b solomon-b added the Bug label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant