Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. fromList :: [(Key, a)] -> PrefixMap a

    tomland Toml.Type.PrefixTree

    Constructs PrefixMap structure from the given list of Key and value pairs.

  2. fromList :: Ord c => [([c], a)] -> TMap c a

    trie-simple Data.Trie.Map

    No documentation available.

  3. fromList :: Ord c => [[c]] -> TSet c

    trie-simple Data.Trie.Set

    No documentation available.

  4. fromList :: (Eq k, Hashable k) => [(k, v)] -> IO (Map k v)

    ttrie Control.Concurrent.STM.Map

    O(n * log n). Construct a map from a list of key/value pairs.

  5. fromList :: Unboxable a => [a] -> Vector a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  6. 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
    

  7. fromList :: forall (n :: Nat) a . SNatI n => [a] -> Maybe (Vec n a)

    vec Data.Vec.Lazy

    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
    

  8. fromList :: forall (n :: Nat) a . SNatI n => [a] -> Maybe (Vec n a)

    vec Data.Vec.Lazy.Inline

    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
    

  9. fromList :: forall (n :: Nat) a . SNatI n => [a] -> Maybe (Vec n a)

    vec Data.Vec.Pull

    Convert list [a] to Vec n a. Returns Nothing if lengths don't match exactly.

    >>> L.fromPull <$> fromList "foo" :: Maybe (L.Vec N.Nat3 Char)
    Just ('f' ::: 'o' ::: 'o' ::: VNil)
    
    >>> L.fromPull <$> fromList "quux" :: Maybe (L.Vec N.Nat3 Char)
    Nothing
    
    >>> L.fromPull <$> fromList "xy" :: Maybe (L.Vec N.Nat3 Char)
    Nothing
    

  10. fromList :: [String] -> Trie

    word-trie Data.Trie

    Take a list of String and compress it into a Trie

Page 35 of many | Previous | Next