Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fromList :: NonEmpty a -> NESeq a

    nonempty-containers Data.Sequence.NonEmpty.Internal

    Create a sequence from a finite list of elements. There is a function toNonEmpty in the opposite direction for all instances of the Foldable1 class, including NESeq.

  2. fromAscList :: Eq a => NonEmpty a -> NESet a

    nonempty-containers Data.Set.NonEmpty

    O(n). Build a set from an ascending list in linear time. /The precondition (input list is ascending) is not checked./

  3. fromDescList :: Eq a => NonEmpty a -> NESet a

    nonempty-containers Data.Set.NonEmpty

    O(n). Build a set from a descending list in linear time. The precondition (input list is descending) is not checked.

  4. fromDistinctAscList :: NonEmpty a -> NESet a

    nonempty-containers Data.Set.NonEmpty

    O(n). Build a set from an ascending list of distinct elements in linear time. The precondition (input list is strictly ascending) is not checked.

  5. fromDistinctDescList :: NonEmpty a -> NESet a

    nonempty-containers Data.Set.NonEmpty

    O(n). Build a set from a descending list of distinct elements in linear time. The precondition (input list is strictly descending) is not checked.

  6. fromList :: Ord a => NonEmpty a -> NESet a

    nonempty-containers Data.Set.NonEmpty

    O(n*log n). Create a set from a list of elements.

  7. toAscList :: NESet a -> NonEmpty a

    nonempty-containers Data.Set.NonEmpty

    O(n). Convert the set to an ascending non-empty list of elements.

  8. toDescList :: NESet a -> NonEmpty a

    nonempty-containers Data.Set.NonEmpty

    O(n). Convert the set to a descending non-empty list of elements.

  9. toList :: NESet a -> NonEmpty a

    nonempty-containers Data.Set.NonEmpty

    O(n). Convert the set to a non-empty list of elements.

  10. fromList :: Ord a => NonEmpty a -> NESet a

    nonempty-containers Data.Set.NonEmpty.Internal

    O(n*log n). Create a set from a list of elements.

Page 138 of many | Previous | Next