hgeometry-combinatorial
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageGHC2021

HGeometry.Set.NonEmpty

Description

Utilities for working with NonEmpty sets

Synopsis

Documentation

extractMinimaBy :: (a -> a -> Ordering) -> NESet a -> NESet a :+ Set a Source #

Extract the smallest element according to the given ordering form the set.