From ae77b01188b24cbd1832ac6b72c389f417ab4c86 Mon Sep 17 00:00:00 2001 From: Preetham Gujjula Date: Thu, 4 Apr 2024 20:31:52 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e24c06d..179b936 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ squarefrees = [1..] `minus` applyMerge (*) (map (^2) primes) [1..] ``` ## Naming -The name `applyMerge` comes from the idea of applying `f` to each `x` and `y`, and merging the results into one sorted output. I'm still thinking of the ideal name for this function. Other options include `sortedLiftA2`/`orderedLiftA2`, from the idea that this function is equivalent to `sort (liftA2 f xs ys)` on finite lists. If you have any ideas on the naming, let me know! +The name `applyMerge` comes from the idea of applying `f` to each `x` and `y`, and merging the results into one sorted output. I'm still thinking of the ideal name for this function. Other options include `sortedLiftA2`/`orderedLiftA2`, from the idea that this function is equivalent to `sort (liftA2 f xs ys)` when `xs` and `ys` are finite. If you have any ideas on the naming, let me know! ## Further reading