-
Notifications
You must be signed in to change notification settings - Fork 139
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
Agda Nat exports Unit somehow #840
Comments
I'm confused, what does Agda.Builtin.Nat exporting Bool have to do with Unit? No matter what it seems weird that Agda.Builtin.Nat imports Agda.Builtin.Bool if it doesn't have to. Seems like an issue for agda (unless there already is an open such issue) |
Yes indeed no link. I find the Unit.
|
It does use |
The reason why I agree that this can be a little bit unexpected. But do we want to fix it? Use a custom |
And a general "pro tip": C-c C-w tells you why something (e.g. |
I was working on a file and I couldn't get how I was using Unit without importing it.
Turned out it was exported by imported Nat. I couldn't figure out where it is imported publicly.
I was thinking that this is a bit weird and shouldn't be?
I don't know if there is a link but I have noticed that the Nat Builtin imports the Bool Bultin and I haven't found a reason for that either
The text was updated successfully, but these errors were encountered: