Research Article

An Abstract Description Method of Map-Reduce-Merge Using Haskell

Algorithm 9

mergeTwoRecord KV1@(K21, V31) KV2@(K22, V32)
  ∣ match K21 K22 = Just $ mergeResult KV1 KV2
  ∣ otherwise = Nothing