Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

Support mutually recursive types #4

@craigfe

Description

@craigfe

Currently mutually recursive types such as this one are unsupported:

type odd = Odd of even option
and even = Even of odd option [@@deriving irmin]

However, it's possible to encode these types using the mu2 combinator presented by Irmin. We should support deriving such encodings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions