importqualifiedData.Map.StrictasMcoffees=M.fromList[(2.2,"Americano"),(2.3,"Latte"),(2.4,"Flat white"),(3.5,"Filter")]coffee::Double->Stringcoffeeprice=letmaybeName=M.lookuppricecoffeesincasemaybeNameofNothing->"Sorry, exact change only. Try again tomorrow!"Justname->"Here is your "++name++", have a nice day!"
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Haskell