From ff55a3f56c613c02ebbb9d8f21c8d216fdea6b6d Mon Sep 17 00:00:00 2001 From: Yannick Fricke Date: Sat, 25 Nov 2023 23:02:44 +0100 Subject: [PATCH] Updated "newsletter" exercise Added the hint about "simplifile" - which should be used for all the file operations. --- exercises/concept/newsletter/.docs/instructions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercises/concept/newsletter/.docs/instructions.md b/exercises/concept/newsletter/.docs/instructions.md index c7fad6b5d..57b59f382 100644 --- a/exercises/concept/newsletter/.docs/instructions.md +++ b/exercises/concept/newsletter/.docs/instructions.md @@ -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.