pgujjula / apply-merge

Lift a binary, non-decreasing function onto ordered lists and order the output
8 stars 1 forks source link

Add `applyMergeOn` #1

Closed pgujjula closed 4 months ago

pgujjula commented 5 months ago

Add a function applyMergeOn

applyMergeOn :: (Ord d) => (c -> d) -> (a -> b -> c) -> [a] -> [b] -> [c]