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

Update function names declared upfront in pegthing #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update function names declared upfront in pegthing #177

wants to merge 1 commit into from

Conversation

serixscorpio
Copy link

While I was going through the pegthing example (web and ebook version), I noticed the function names in

(declare successful-move prompt-move game-over query-rows)

seem to be mismatched from the remaining code example. After checking against https://github.com/flyingmachine/pegthing/blob/master/src/pegthing/core.clj, I changed to

(declare user-entered-valid-move user-entered-invalid-move prompt-move game-over prompt-rows)

in order to refer to those function names before they are defined. This PR reflects the corresponding change in the HTML. Thanks.

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 this pull request may close these issues.

1 participant