From d549926d592b444b6e34da160df191c2a8416254 Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Mon, 15 Aug 2016 14:17:52 -0300 Subject: [PATCH] Use actual type instead of type variable Use `Msg` instead of `msg` in the signature of `viewValidation`. `msg` works because, I guess (extrapolating from my poor Haskell knowledge) is a type variable (`a` would work too). But maybe someone reading the tutorial may get confused about the change in the signature. --- examples/3-form.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/3-form.elm b/examples/3-form.elm index f9d6611..7bdcd95 100644 --- a/examples/3-form.elm +++ b/examples/3-form.elm @@ -65,7 +65,7 @@ view model = ] -viewValidation : Model -> Html msg +viewValidation : Model -> Html Msg viewValidation model = let (color, message) =