Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

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

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

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

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

    strict-list StrictList

    Construct from a lazy list in reversed order.

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

    bitwise Data.Bits.Bitwise

    Convert a big-endian list of bits to Bits.

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

    bitwise Data.Bits.Bitwise

    Convert a little-endian list of bits to Bits.

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

    bytehash Data.Bytes.HashMap

    No documentation available.

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

    bytehash Data.Bytes.HashMap.Word

    No documentation available.

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

  9. fromListWithReset :: forall (dom :: Domain) a . (KnownDomain dom, NFDataX a) => Reset dom -> a -> [a] -> Signal dom a

    clash-prelude Clash.Explicit.Signal

    Like fromList, but resets on reset and has a defined reset value.

    >>> let rst = unsafeFromActiveHigh (fromList [True, True, False, False, True, False])
    
    >>> let res = fromListWithReset @System rst Nothing [Just 'a', Just 'b', Just 'c']
    
    >>> sampleN 6 res
    [Nothing,Nothing,Just 'a',Just 'b',Nothing,Just 'a']
    
    NB: This function is not synthesizable

  10. fromList_lazy :: forall a (dom :: Domain) . [a] -> Signal dom a

    clash-prelude Clash.Explicit.Signal

    Create a Signal from a list Every element in the list will correspond to a value of the signal for one clock cycle.

    >>> sampleN 2 (fromList [1,2,3,4,5] :: Signal System Int)
    [1,2]
    
    NB: This function is not synthesizable

Page 53 of many | Previous | Next