Skip to content

Disallow recursive type synonyms #67

@purefunctor

Description

@purefunctor
-- Fail
type F a = F a

-- Fail
type G a = H a
type H a = G a

-- Pass, because F does not expand!
newtype F a = F (G a)
type G a = H a
type H a = F a

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