I also wrote a calculator a few months ago and it was such a pleasure to work my way through it.
I went ahead and took on the challenges of expression parsing, decimal input, decimal output (like 1/30=0.0(3)) and unit testing. Thankfully, I made it out alive :).
I didn't handle keyboard input so I'd love to read part 8 and 9 of your series to learn how you did it.
Type safe keyboard input is awesome. It was probably my favorite part of this project. I use that same technique in a lot of other places now.
I looked at your example. Nice! I wanted to do some parsing but thought it would be too heavy for a beginning tutorial. The parsing tools in Elm are amazing.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.