Docs: Use Maybe in annotation
I caught this one just by reading, but it wouldn't be the worst idea to systematically make sure each example compiles.
commitc65bf4c17f04e82345a8f28d88cc881a78adab43
authorMax Goldstein <maxgoldstein1@gmail.com>
dateFri 7 Mar 2014, 22:15 (13 years ago)
parent4fcc11a
libraries/Graphics/Input.elm+1−1
@@ -118,7 +118,7 @@ favorite British sport:
118118
119119 data Sport = Football | Cricket | Snooker
120120
121− sport : Input Sport
121+ sport : Input (Maybe Sport)
122122 sport = input Nothing
123123
124124 sportDropDown : Element