Hoogle Search
Within LTS Haskell 24.27 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
nonEmpty :: forall (n :: Natural) a . Vector n a -> LeqProof 1 nparameterized-utils Data.Parameterized.Vector Proof that the length of this vector is not 0.
-
checkers Test.QuickCheck.Instances.List Generates a non-empty list with the contents generated using its argument.
nonEmpty :: Collection c => c -> Maybe (NonEmpty c)foundation Foundation Smart constructor to create a NonEmpty collection If the collection is empty, then Nothing is returned Otherwise, the collection is wrapped in the NonEmpty property
nonEmpty :: Collection c => c -> Maybe (NonEmpty c)foundation Foundation.Collection Smart constructor to create a NonEmpty collection If the collection is empty, then Nothing is returned Otherwise, the collection is wrapped in the NonEmpty property
nonEmpty :: HasNonEmpty s => s -> Maybe (NE s)nonempty-containers Data.Containers.NonEmpty "Smart constructor" for NE s given a (potentailly empty) s. Will return Nothing if the s was empty, and Just n if the s was not empty, with n :: NE s. Should form an isomorphism with maybe empty fromNonEmpty.
nonEmpty :: DUALTree d u a l -> Maybe (u, DUALTreeNE d u a l)dual-tree Data.Tree.DUAL.Internal Decompose a DUAL-tree into either Nothing (if empty) or a top-level cached u annotation paired with a non-empty DUAL-tree.
-
one-liner Generics.OneLiner No documentation available.
-
one-liner Generics.OneLiner.Binary No documentation available.
-
one-liner Generics.OneLiner.Internal No documentation available.
-
one-liner Generics.OneLiner.Internal.Unary No documentation available.