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. fromListN :: Int -> [a] -> Maybe (NonEmptyVector a)

    nonempty-vector Data.Vector.NonEmpty

    O(n) Convert the first n elements of a list to a non-empty vector. If the list is empty or <= 0 elements are chosen, Nothing is returned, otherwise Just containing the non-empty vector

    >>> fromListN 3 [1..5]
    Just [1,2,3]
    
    >>> fromListN 3 []
    Nothing
    
    >>> fromListN 0 [1..5]
    Nothing
    

  2. fromListUnboxed :: (Shape sh, Unbox a) => sh -> [a] -> Array U sh a

    repa Data.Array.Repa

    O(n). Convert a list to an unboxed vector array.

    • This is an alias for fromList with a more specific type.

  3. fromListUnboxed :: (Shape sh, Unbox a) => sh -> [a] -> Array U sh a

    repa Data.Array.Repa.Repr.Unboxed

    O(n). Convert a list to an unboxed vector array.

    • This is an alias for fromList with a more specific type.

  4. fromListVector :: Shape sh => sh -> [a] -> Array V sh a

    repa Data.Array.Repa.Repr.Vector

    O(n). Convert a list to a boxed vector array.

    • This is an alias for fromList with a more specific type.

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

    strict-list StrictList

    Construct from a lazy list in reversed order.

  6. fromListBE :: Bits b => [Bool] -> b

    bitwise Data.Bits.Bitwise

    Convert a big-endian list of bits to Bits.

  7. fromListLE :: Bits b => [Bool] -> b

    bitwise Data.Bits.Bitwise

    Convert a little-endian list of bits to Bits.

  8. fromListWith :: CryptHandle -> (v -> v -> v) -> [(Bytes, v)] -> IO (Map v)

    bytehash Data.Bytes.HashMap

    No documentation available.

  9. fromListWith :: CryptHandle -> (Word -> Word -> Word) -> [(Bytes, Word)] -> IO Map

    bytehash Data.Bytes.HashMap.Word

    No documentation available.

  10. fromListWithDef :: forall (v :: Type -> Type) a . Vector v a => a -> [a] -> Chimera v a

    chimera Data.Chimera

    Create a stream of values from a given prefix, followed by default value afterwards.

Page 53 of many | Previous | Next