Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. fromList :: (Contiguous arr, Element arr a) => [a] -> arr a

    contiguous Data.Primitive.Contiguous

    Convert a list into an array.

  2. fromList :: Ord k => [(k, v)] -> Map k v

    dhall Dhall.Map

    Create a Map from a list of key-value pairs

    >>> fromList [("B",1),("A",2)]  -- The map preserves order
    fromList [("B",1),("A",2)]
    
    >>> fromList [("A",1),("A",2)]  -- For duplicates, later values take precedence
    fromList [("A",2)]
    
    Note that this handling of duplicates means that fromList is not a monoid homomorphism:
    >>> fromList [(1, True)] <> fromList [(1, False)]
    fromList [(1,True)]
    
    >>> fromList ([(1, True)] <> [(1, False)])
    fromList [(1,False)]
    

  3. fromList :: Ord a => [a] -> Set a

    dhall Dhall.Set

    Convert a list to a Set, remembering the element order

  4. fromList :: [(Expr, a)] -> Triexpr a

    express Data.Express.Triexpr

    Constructs a Triexpr form a list of key Exprs and associated values.

  5. fromList :: IsList l => [Item l] -> l

    foundation Foundation

    The fromList function constructs the structure l from the given list of Item l

  6. fromList :: Context a => (Int, Int) -> [a] -> Matrix a

    matrices Data.Matrix

    No documentation available.

  7. fromList :: forall m (v :: Type -> Type) a . Matrix m v a => (Int, Int) -> [a] -> m v a

    matrices Data.Matrix.Class

    No documentation available.

  8. fromList :: forall m (v :: Type -> Type) a . Matrix m v a => (Int, Int) -> [a] -> m v a

    matrices Data.Matrix.Generic

    No documentation available.

  9. fromList :: Context a => (Int, Int) -> [a] -> Matrix a

    matrices Data.Matrix.Storable

    No documentation available.

  10. fromList :: Context a => (Int, Int) -> [a] -> Matrix a

    matrices Data.Matrix.Unboxed

    No documentation available.

Page 15 of many | Previous | Next