Merge pull request #1 from knuton/patch-1

Fix typo
This commit is contained in:
Evan Czaplicki 2015-02-03 13:07:36 +01:00
commit e45b6d28d2

View file

@ -210,7 +210,7 @@ view channel model =
Rather than refering directly to a top-level `actionChannel` as we did in Rather than refering directly to a top-level `actionChannel` as we did in
example 1, we give the channel as an argument so that each counter can be example 1, we give the channel as an argument so that each counter can be
sending messages along different channels. This will let us augment a basic sending messages along different channels. This will let us augment a basic
`Counter.Action` with extra information so that we know which counter is needs `Counter.Action` with extra information so that we know which counter needs
to be updated. to be updated.
Creating modular code is all about creating strong abstractions. We want Creating modular code is all about creating strong abstractions. We want
@ -592,4 +592,4 @@ If this is not clear, maybe I will write example 5 that shows this pattern in
action. In the meantime, you can see examples like this in [the fancy version action. In the meantime, you can see examples like this in [the fancy version
of the TodoMVC app written in Elm][fancy]. of the TodoMVC app written in Elm][fancy].
[fancy]: https://github.com/evancz/elm-todomvc/blob/trim/Todo.elm [fancy]: https://github.com/evancz/elm-todomvc/blob/trim/Todo.elm