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.
fromListsUnsafe :: forall a (m :: Nat) (n :: Nat) . [[a]] -> Matrix m n amatrix-static Data.Matrix.Static Create a matrix from a list of rows. The list must have exactly m lists of length n. If this does not hold, the resulting Matrix will have different static dimensions that the runtime dimension and will result in hard to debug errors. Use fromLists whenever you're unsure. Example:
fromListsUnsafe [ [1,2,3] ( 1 2 3 ) , [4,5,6] ( 4 5 6 ) , [7,8,9] ] = ( 7 8 9 )
toList :: forall (m :: Nat) (n :: Nat) a . Matrix m n a -> [a]matrix-static Data.Matrix.Static Get the elements of a matrix stored in a list.
( 1 2 3 ) ( 4 5 6 ) toList ( 7 8 9 ) = [1..9]
toLists :: forall (m :: Nat) (n :: Nat) a . Matrix m n a -> [[a]]matrix-static Data.Matrix.Static Get the elements of a matrix stored in a list of lists, where each list contains the elements of a single row.
( 1 2 3 ) [ [1,2,3] ( 4 5 6 ) , [4,5,6] toLists ( 7 8 9 ) = , [7,8,9] ]
fromList :: (Real a, Eq a) => [a] -> MedianStream amedian-stream Data.MedianStream Creates a MedianStream from a list of input elements. Complexity: O(nlgn)
insertList :: (Real a, Eq a) => MedianStream a -> [a] -> MedianStream amedian-stream Data.MedianStream Adds a list of input elements to an existing MedianStream Complexity: O(nlgn)
ElfListCons :: forall (t :: ElfNodeType) (c :: ElfClass) . ElfXX t c -> ElfListXX c -> ElfListXX cmelf Data.Elf No documentation available.
ElfListNull :: forall (c :: ElfClass) . ElfListXX cmelf Data.Elf No documentation available.
data
ElfListXX (c :: ElfClass)melf Data.Elf List of ELF nodes.
parseBList :: (MonadThrow m, Binary (Le a), Binary (Be a)) => ElfData -> ByteString -> m [a]melf Data.Elf.Headers Parse an array
serializeBList :: (Binary (Le a), Binary (Be a)) => ElfData -> [a] -> ByteStringmelf Data.Elf.Headers Serialize an array