> `file->lines` produces the contents of the lines, without the > newlines. So this is as intended. This is also the behavior I would > have expected from `read-words/line` originally. > > Sam >
Hi, Part 2 of the HtDP2e book, recommends the usage `read-words/line' for preserving the organization of the file into lines and words. So it isn't very expected that the information from the last empty line wouldn't be preserved. Now that this question has answered, I guess this thread can be considered as closed. Thanks everyone for your answers. So far I've found the HtDP2e a great book and racket a super fun language. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.