Started to follow the elm guide this weekend and got tripped up on the exercise in the partial functions section.
The exercise involves altering an existing °C to °F converter to highlight invalid inputs and adding more conversions. The text says to only alter the view code but I don’t know of a good way to accomplish this.
My solution is not pretty and I think I missed the point of the exercise.
Would be thankful for any pointers to get me started on solving it “as intended”.
I thought it was possible to solve altering only the view function code.
Also since the exercise is in the “Maybe” and “Partial functions” section I thought that I have use those concepts, but that part stayed basically the same compared to the original version.
But since the result seems fine, I’ll just keep going.
Thank you.