HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Package0.4.0.0Data Structures

nonempty-containers

Non-empty variants of containers data types, with full API

Modules

20 modules
  • Data.Containers.NonEmpty5Non-Empty Typeclass Provides the typeclass HasNonEmpty, which abstracts over different
  • Data.Containers.NonEmpty.List1Provides IsNonEmptyList, a non-empty analogue of IsList for the
  • Data.IntMap.NonEmpty0Non-Empty Finite Integer-Indexed Maps This module re-exports Data.IntMap.NonEmpty.Lazy. Import
  • Data.IntMap.NonEmpty.Lazy130Non-Empty Finite Integer-Indexed Maps (lazy interface) The NEIntMap v type represents a non-empty finite map (sometimes
  • Data.IntMap.NonEmpty.Strict130Non-Empty Finite Integer-Indexed Maps (strict interface) The NEIntMap v type represents a non-empty finite map (sometimes
  • Data.IntSet.NonEmpty60Non-Empty Finite Integer Sets The NEIntSet type represents a non-empty set of integers. See documentation for NEIntSet for information on…
  • Data.Map.NonEmpty0Non-Empty Finite Maps This module re-exports Data.Map.NonEmpty.Lazy. Import
  • Data.Map.NonEmpty.Lazy148Non-Empty Finite Maps (lazy interface) The NEMap k v type represents a non-empty finite map (sometimes
  • Data.Map.NonEmpty.Strict148Non-Empty Finite Maps (strict interface) The NEMap k v type represents a non-empty finite map (sometimes
  • Data.Sequence.NonEmpty89Non-Empty Finite Sequences | An NESeq a is a non-empty (but finite) sequence of values of type
  • Data.Set.NonEmpty75Non-Empty Finite Sets The NESet e type represents a non-empty set of elements of type e.
Internal modules · 9

Description

Efficient and optimized non-empty versions of types from containers. Inspired by non-empty-containers library, except attempting a more faithful port (with under-the-hood optimizations) of the full containers API. Also contains a convenient typeclass abstraction for converting betwewen non-empty and possibly-empty variants. See README.md for more information.

Depends on

11 packages

Used by in this set · 1