Question: HASKELL CODING 1. Develop the Haskell function priceCart :: PriceList -> CartItems -> CartPrices that takes a database of product prices (PriceList) and a list

HASKELL CODING

1. Develop the Haskell function

priceCart :: PriceList -> CartItems -> CartPrices

that takes a database of product prices (PriceList) and a list of barcodes of the items in a shopping cart and generates the list of item prices

2. Develop the Haskell function

makeBill :: CartPrices -> Bill

This function defines the end to end processing that takes the list of items from the shopping cart and generates the receipt.

3. Develop the Haskell function

makeReceipt :: PriceList -> CartItems -> String

This function defines the end to end processing that takes the list from the shopping cart and generates the receipt.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!