From 7c268390ef3a4a48c7f8c96cc927030f29665a3a Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Mon, 23 Dec 2019 09:35:38 +0000 Subject: [PATCH] Fix a couple typos in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f44d8bf..210c395 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ This is a classic inversion of control, and allows for very flexible patterns. For example, using [`>>>`](#finally-raise) (ie: `raise` if exception, otherwise continue) sidesteps the need for separate bang functions. -Just like the classic FP wisdom: if it doubt, pass it back to the caller to handle. +Just like the classic FP wisdom: if in doubt, pass it back to the caller to handle. ## Examples @@ -157,7 +157,7 @@ normalize({:good, "tuple", ["value"]}) {:bang, message} -> %File.CopyError{reason: message} otherwise -> otherwise end) -#=> %File.Error{message: msg} +#=> %File.Error{action: "", path: nil, reason: "something bad happened"} {:oh_yes, {1, 2, 3}} |> normalize(fn