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

Inconsistency between Listing 7.7 and Listing 7.12 #47

Open
kantuni opened this issue Nov 7, 2024 · 0 comments
Open

Inconsistency between Listing 7.7 and Listing 7.12 #47

kantuni opened this issue Nov 7, 2024 · 0 comments

Comments

@kantuni
Copy link

kantuni commented Nov 7, 2024

Listing 7.7

toggleExpanded : FolderPath -> Folder -> Folder
toggleExpanded path (Folder folder) =
    ...

vs

Listing 7.12

toggleExpanded : FolderPath -> Folder -> Folder
toggleExpanded path (Folder root) =
    ...

P.S. I understand that the variable name doesn't matter - I just wanted to point out the inconsistency in case you decide to produce a new version of the book someday.

P.P.S. Thank you for an amazing book!

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