Skip to content

Finite Set elimination not computing fully when typechecking #55

@solomon-b

Description

@solomon-b
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⁺

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions