-
Notifications
You must be signed in to change notification settings - Fork 320
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
Suggested modification to first exercise #986
base: dev
Are you sure you want to change the base?
Conversation
@@ -75,14 +75,14 @@ successor of two; and so on. | |||
|
|||
#### Exercise `seven` (practice) {#seven} | |||
|
|||
Write out `7` in longhand. | |||
Write out `7` in longhand. The suggestion below loads but is, of course, incorrect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you want to avoid ?
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because at this point, the reader hasn't learned how to deal with ?
--the walkthrough of that is a bit later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, holes are never used in the executable text, because Agda gets stroppy if you try to import a module that contains a hole.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fixes #960 by handing the student the type declaration. Starts with an explicitly wrong answer to avoid
?
s.