Skip to content

Commit

Permalink
minor readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
aenglisc committed Nov 10, 2020
1 parent cd5a3ae commit 39f7c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ f:do(2, [
(fun(X) -> f:ok(X * 21) end),
(fun(X) -> f:ok(X * 10) end)
]).
%% {ok, 420}
% {ok, 420}

f:do(1, [
(fun(X) -> f:ok(X * 1) end),
(fun(_) -> f:err(go_away) end),
(fun(X) -> f:ok(X + 1) end)
]).
%% {error, go_away}
% {error, go_away}
```

0 comments on commit 39f7c1f

Please sign in to comment.