I’m creating a calculator GUI and I have the user able to type in an expression, press the enter key, and the expression will then be evaluated. Right now a variable is storing the result of the evaluation and I want it displayed on the screen. I’m not sure how to do that seeing as I only know how to create buttons, labels, and recognize keystrokes. Any help would be greatly appreciated!
I’ve tried to use putStrLn, which didn’t work for obvious reasons. That’s about all that I knew how to do. I checked through the examples on Monomers github page but I couldn’t find anything.