Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

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

  1. fromList :: forall (b :: Bin) a . SBinI b => [a] -> Maybe (RAVec b a)

    ral Data.RAVec

    Convert a list [a] to RAVec b a. Returns Nothing if lengths don't match.

    >>> fromList "foo" :: Maybe (RAVec B.Bin3 Char)
    Just (NonEmpty (NE (Cons1 (Leaf 'f') (Last (Node (Leaf 'o') (Leaf 'o'))))))
    
    >>> fromList "quux" :: Maybe (RAVec B.Bin3 Char)
    Nothing
    
    >>> fromList "xy" :: Maybe (RAVec B.Bin3 Char)
    Nothing
    

  2. fromList :: [Int] -> RIntSet

    range-set-list Data.RangeSet.IntMap

    O(n*log n). Create a set from a list of elements. Note that unlike Data.Set and other binary trees, this always requires a full sort and traversal to create distinct, disjoint ranges before constructing the tree.

  3. fromList :: (Ord a, Enum a) => [a] -> RSet a

    range-set-list Data.RangeSet.List

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

  4. fromList :: (Ord a, Enum a) => [a] -> RSet a

    range-set-list Data.RangeSet.Map

    O(n*log n). Create a set from a list of elements. Note that unlike Data.Set and other binary trees, this always requires a full sort and traversal to create distinct, disjoint ranges before constructing the tree.

  5. fromList :: [a] -> List a

    rattletrap Rattletrap.Type.List

    No documentation available.

  6. fromList :: List (Dictionary a) -> Array a

    rattletrap Rattletrap.Type.Property.Array

    No documentation available.

  7. fromList :: [a] -> Vector a

    rrb-vector Data.RRBVector

    Create a new vector from a list.

  8. fromList :: (Eq k, Hashable k) => [(k, v)] -> HashMap k v

    simple Web.Simple.Templates

    Construct a map with the supplied mappings. If the list contains duplicate mappings, the later mappings take precedence.

  9. fromList :: forall (f :: Type -> Type) (n :: Nat) a . (CFreeMonoid f, Dom f a) => SNat n -> [a] -> Maybe (Sized f n a)

    sized Data.Sized

    If the given list is shorter than n, then returns Nothing Otherwise returns Sized f n a consisting of initial n element of given list. Since 0.7.0.0 (type changed)

  10. fromList :: [a] -> Fix (ListF a)

    srtree Data.SRTree.Recursion

    No documentation available.

Page 33 of many | Previous | Next