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

irmin.type: pp_ty should show components of algebraic types #958

Closed
craigfe opened this issue Mar 10, 2020 · 0 comments · Fixed by #997
Closed

irmin.type: pp_ty should show components of algebraic types #958

craigfe opened this issue Mar 10, 2020 · 0 comments · Fixed by #997
Assignees

Comments

@craigfe
Copy link
Member

craigfe commented Mar 10, 2020

Currently, Irmin.Type.pp_ty pretty-prints any variant/record generics as "Variant"/"Record" respectively (see https://github.com/mirage/irmin/blob/master/src/irmin/type/type_pp.ml#L56-L57), which is not particularly helpful. It could contain:

  • the name of the variant/record;
  • the pretty-printed form of the component types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant