When I write Haskell I meet a problem. I don’t know why it tells that [Integer] cannot match [a]. In my opinion I think a is a general type…. When I write Haskell I meet a problem. I don’t know why it tells that [Integer] cannot match [a]. In my opinion I think a is a general type. Acturally I don’t know how to solve the problem. calculateTotalOrderInventoryFloatItemOrder