Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
type-map Data.TypeMap.List List-backed type-map.
toList :: TypeVector d -> TypeList ltype-map Data.TypeMap.Vector Convert from a vector to a list.
rList :: Riggable f => f a -> f [a]type-rig Data.TypeRig.Riggable No documentation available.
rList1 :: Riggable f => f a -> f (NonEmpty a)type-rig Data.TypeRig.Riggable No documentation available.
fromList :: Unboxable a => [a] -> Vector aunboxing-vector Data.Vector.Unboxing No documentation available.
fromListN :: Unboxable a => Int -> [a] -> Vector aunboxing-vector Data.Vector.Unboxing No documentation available.
toList :: Unboxable a => Vector a -> [a]unboxing-vector Data.Vector.Unboxing No documentation available.
lazyKeyMapFromList :: [(Key, v)] -> KeyMap vunjson Data.Unjson.Internal.Aeson.Compat No documentation available.
-
validate-input Data.Validator Check that a list is not empty
fromList :: forall (n :: Nat) a . SNatI n => [a] -> Maybe (Vec n a)vec Data.Vec.DataFamily.SpineStrict Convert list [a] to Vec n a. Returns Nothing if lengths don't match exactly.
>>> fromList "foo" :: Maybe (Vec N.Nat3 Char) Just ('f' ::: 'o' ::: 'o' ::: VNil)>>> fromList "quux" :: Maybe (Vec N.Nat3 Char) Nothing
>>> fromList "xy" :: Maybe (Vec N.Nat3 Char) Nothing