From bec52f63cba93462f871b34a7fe5f426a0d78938 Mon Sep 17 00:00:00 2001 From: Preetham Gujjula Date: Mon, 20 May 2024 11:47:48 -0400 Subject: [PATCH] Add top-level documentation to Haddocks --- src/Data/List/ApplyMerge.hs | 6 +++++- src/Data/List/NonEmpty/ApplyMerge.hs | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Data/List/ApplyMerge.hs b/src/Data/List/ApplyMerge.hs index da641ba..23cbbef 100644 --- a/src/Data/List/ApplyMerge.hs +++ b/src/Data/List/ApplyMerge.hs @@ -7,8 +7,12 @@ -- License: BSD-3-Clause -- Maintainer: Preetham Gujjula -- Stability: experimental +-- +-- Lift a binary, non-decreasing function onto ordered lists and order the +-- output. module Data.List.ApplyMerge - ( applyMerge, + ( -- * Functions + applyMerge, applyMergeBy, applyMergeOn, diff --git a/src/Data/List/NonEmpty/ApplyMerge.hs b/src/Data/List/NonEmpty/ApplyMerge.hs index 2e9cfa2..f0eb833 100644 --- a/src/Data/List/NonEmpty/ApplyMerge.hs +++ b/src/Data/List/NonEmpty/ApplyMerge.hs @@ -7,6 +7,8 @@ -- License: BSD-3-Clause -- Maintainer: Preetham Gujjula -- Stability: experimental +-- +-- Like "Data.List.ApplyMerge", but for 'NonEmpty' instead of lists. module Data.List.NonEmpty.ApplyMerge ( applyMerge, applyMergeBy,