Skip to content

Type annotations breaks code #3

@fxdpntthm

Description

@fxdpntthm

When the function showLamR is used

showLamR :: Mu (V1 (R '["var" := Zero Int, "lam" := One])) -> String
showLamR x = ((Rec showVar) `brnr` (Rec showLam)) ~$~ x

breaks the repl, while

showLamR :: Mu (V1 (R '["lam" := One, "var" := Zero Int])) -> String
showLamR x = ((Rec showVar) `brnr` (Rec showLam)) ~$~ x

does not

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