From e76e3815e2ae2804f1a76e145e78009cedda94e0 Mon Sep 17 00:00:00 2001 From: Luke Westby Date: Sun, 24 Jul 2016 11:13:38 -0500 Subject: [PATCH] update usage in README --- README.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index 02e2eb6..39b9904 100644 --- a/README.md +++ b/README.md @@ -35,19 +35,9 @@ subscriptions _ = port modelOut : Model -> Cmd msg -wrapUpdate : (Msg -> Model -> Model) -> (Msg -> Model -> (Model, Cmd Msg)) -wrapUpdate innerUpdate = - \msg model -> - let - nextModel = - innerUpdate msg model - in - (nextModel, modelOut nextModel) - - main : Program Never main = - Worker.worker + Worker.worker modelOut { model = model , update = wrapUpdate update , subscriptions = subscriptions