I’m currently trying to cram Haskell into my brain, and in an effort to do so, I’ve been writing a fake POS (point of sales) application. It has a command-line UI that prompts the user to add
Pizzas and a
Customer to an
I need to re-organize the code, but this is what about 50% of the code looks like right now. The other 50% is in a module that defines what a
Pizza is, and also defines its helper functions.