Skip to content

Commit

Permalink
Updated "newsletter" exercise
Browse files Browse the repository at this point in the history
Added the hint about "simplifile" - which should be used for all the file operations.
  • Loading branch information
YannickFricke authored Nov 25, 2023
1 parent 51e825d commit ff55a3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exercises/concept/newsletter/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Boris is a big model train enthusiast and has decided to share their passion with the world by starting a newsletter. They'll start by sending the first issue of the newsletter to friends and acquaintances that share the hobby, their email addresses are stored in a text file.

Hint: Use the [simplifile](https://hexdocs.pm/simplifile/simplifile.html) module for file operations.

## 1. Read email addresses from a file

Implement the `read_emails` function. It takes a path string to a text file that contains email addresses separated by newlines, and returns a list of the email addresses from the file.
Expand Down

0 comments on commit ff55a3f

Please sign in to comment.