In the printed copy of the book, there is a line break before each package statement. This is intended to show that each is defined in a separate file. I checked the electronic version of the book and these line breaks are missing. You can assume when this happens that each package statement is intended to be in a separate file.
I've added this to our
errata and credited you with reporting it. This kind of issue is hard to prevent because it was right, when we wrote it, in all the page proofs we reviewed and in the printed book.
And it's fine to post questions from the book as long as you aren't posting all of them

. Before posting, check the
errata to confirm it hasn't been reported already. If it is still not clear, it is fine to ask (ideally by replying to that
thread).