Module
Data.Array.NonEmpty.Internal
- Package
- purescript-arrays
- Repository
- purescript/purescript-arrays
This module exports the NonEmptyArray constructor.
It is NOT intended for public use and is NOT versioned.
Its content may change in any way, at any time and without notice.
#NonEmptyArray Source
newtype NonEmptyArray aAn array that is known not to be empty.
You can use the constructor to create a NonEmptyArray that isn't
non-empty, breaking the guarantee behind this newtype. It is
provided as an escape hatch mainly for the Data.Array.NonEmpty
and Data.Array modules. Use this at your own risk when you know
what you are doing.
Constructors
NonEmptyArray (Array a)
Instances
(Show a) => Show (NonEmptyArray a)(Eq a) => Eq (NonEmptyArray a)Eq1 NonEmptyArray(Ord a) => Ord (NonEmptyArray a)Ord1 NonEmptyArraySemigroup (NonEmptyArray a)Functor NonEmptyArrayFunctorWithIndex Int NonEmptyArrayFoldable NonEmptyArrayFoldableWithIndex Int NonEmptyArrayFoldable1 NonEmptyArrayUnfoldable1 NonEmptyArrayTraversable NonEmptyArrayTraversableWithIndex Int NonEmptyArrayTraversable1 NonEmptyArrayApply NonEmptyArrayApplicative NonEmptyArrayBind NonEmptyArrayMonad NonEmptyArrayAlt NonEmptyArray