Skip to content

Commit

Permalink
parsing: s/newlines/whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
GoNZooo committed Sep 10, 2022
1 parent 044465f commit c84fa1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basics/extras/parsing-with-megaparsec.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ data IPAddress = IPAddress !Int !Int !Int !Int
### Starting from the top

It's not unreasonable to start out with a high-level view of this problem. We want to parse several
`hosts` entries from this file and they are separated by newlines. Each entry will start with an IP
address and then a list of hostnames:
`hosts` entries from this file and they are separated by whitespace. Each entry will start with an
IP address and then a list of hostnames:

```haskell
-- | This is the function we use in order to actually read a file and parse it.
Expand Down

0 comments on commit c84fa1d

Please sign in to comment.