The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

361888 (6) [Avatar] Offline
#1
Page 66 (page 91 in pdf):

You can read the file contents with the help of the File.read/2 function:

{:ok, contents} = File.read("my_app.config") 

I think arity is 1 --> File.read/1

So far, this is a great book, very GOOD!!! smilie
sjuric (109) [Avatar] Offline
#2
Good catch, the arity is 1. Thanks for reporting, and glad you're enjoying the book so far smilie