strict-non-empty-containers-2020.12.8: Strict non-empty container types
Copyright © 2018-2020 IOHK
License Apache-2.0
Safe Haskell Safe-Inferred
Language Haskell2010

Data.Set.Strict.NonEmptySet

Description

Provides a strict implementation of a non-empty set.

Synopsis

Type

data NonEmptySet a Source #

A non-empty set of elements of type a .

Instances

Instances details
Foldable NonEmptySet Source #
Instance details

Defined in Data.Set.Strict.NonEmptySet

Eq a => Eq ( NonEmptySet a) Source #
Instance details

Defined in Data.Set.Strict.NonEmptySet

( Read a, Ord a) => Read ( NonEmptySet a) Source #
Instance details

Defined in Data.Set.Strict.NonEmptySet

Show a => Show ( NonEmptySet a) Source #
Instance details

Defined in Data.Set.Strict.NonEmptySet

Generic ( NonEmptySet a) Source #
Instance details

Defined in Data.Set.Strict.NonEmptySet

Associated Types

type Rep ( NonEmptySet a) :: Type -> Type Source #

NFData a => NFData ( NonEmptySet a) Source #
Instance details

Defined in Data.Set.Strict.NonEmptySet

type Rep ( NonEmptySet a) Source #
Instance details

Defined in Data.Set.Strict.NonEmptySet

type Rep ( NonEmptySet a) = D1 (' MetaData "NonEmptySet" "Data.Set.Strict.NonEmptySet" "strict-non-empty-containers-2020.12.8-EzSwiBLeHy9D9DK6mxAncD" ' True ) ( C1 (' MetaCons "NonEmptySet" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "elements") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( NonEmptyMap a ()))))

Construction

Deconstruction

Insertion

Deletion

Membership

Combination