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

type collision #1

Open
mimoo opened this issue Dec 13, 2021 · 0 comments
Open

type collision #1

mimoo opened this issue Dec 13, 2021 · 0 comments

Comments

@mimoo
Copy link
Contributor

mimoo commented Dec 13, 2021

Screen Shot 2021-10-11 at 10 25 27 AM

In the previous snippet, there's two things happening:

  • first, we use nonrec on every type, which is a bit ugly especially if ocamlformat does not remove the useless ones by itself
  • second, the redlined return type is wrong, as it indicates the wrong t. In this case, it is not clear to me how to correctly format the path for the correct t which is in the module above. My current solution is to avoid naming types t...
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

No branches or pull requests

1 participant