DEV Community

Discussion on: Elm Calculator Part 1 - Introduction

Collapse
 
dwayne profile image
Dwayne Crooks

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.

Collapse
 
pianomanfrazier profile image
Ryan Frazier

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.

Collapse
 
pianomanfrazier profile image
Ryan Frazier

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.