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

:t (Nat -> Nat) #98

Closed
danielwaterworth opened this issue Nov 26, 2012 · 3 comments
Closed

:t (Nat -> Nat) #98

danielwaterworth opened this issue Nov 26, 2012 · 3 comments

Comments

@danielwaterworth
Copy link
Contributor

I get this error when I try to execute the above:

INTERNAL ERROR: "{A0} is not a Set"
This is probably a bug, or a missing error message.
Please consider reporting at https://github.com/edwinb/Idris-dev/issues

I'm not sure if this is already covered by any of the other open issues.

@edwinb
Copy link
Contributor

edwinb commented Nov 26, 2012

This is related to issue #32, namely that because elaboration of terms is type directed, the REPL is not very good at elaborating terms with binders like this and just gives up with an unhelpful message. Though there are a few ways I can try to fix this - I'll give it a go when I get a quiet moment.

For now you can say something like: let x : Set = Nat -> Nat in x which is ugly but works.

@danielwaterworth
Copy link
Contributor Author

Thanks, that was quick.

@edwinb
Copy link
Contributor

edwinb commented Nov 27, 2012

This is now fixed

@edwinb edwinb closed this as completed Nov 27, 2012
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

2 participants