Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. (+>>) :: forall (n :: Nat) a . KnownNat n => a -> Vec n a -> Vec n a

    clash-prelude Clash.Prelude

    Add an element to the head of a vector, and extract all but the last element.

    >>> 1 +>> (3:>4:>5:>Nil)
    1 :> 3 :> 4 :> Nil
    
    >>> 1 +>> Nil
    Nil
    

  2. (++) :: forall (n :: Nat) a (m :: Nat) . Vec n a -> Vec m a -> Vec (n + m) a

    clash-prelude Clash.Prelude.Safe

    Append two vectors.

    >>> (1:>2:>3:>Nil) ++ (7:>8:>Nil)
    1 :> 2 :> 3 :> 7 :> 8 :> Nil
    

  3. (+>>) :: forall (n :: Nat) a . KnownNat n => a -> Vec n a -> Vec n a

    clash-prelude Clash.Prelude.Safe

    Add an element to the head of a vector, and extract all but the last element.

    >>> 1 +>> (3:>4:>5:>Nil)
    1 :> 3 :> 4 :> Nil
    
    >>> 1 +>> Nil
    Nil
    

  4. (++#) :: forall (m :: Nat) (n :: Nat) . KnownNat m => BitVector n -> BitVector m -> BitVector (n + m)

    clash-prelude Clash.Sized.BitVector

    Concatenate two BitVectors

  5. (+>>.) :: forall (n :: Nat) . KnownNat n => Bit -> BitVector n -> BitVector n

    clash-prelude Clash.Sized.BitVector

    Shift in a bit from the MSB side of a BitVector. Equal to right shifting the BitVector by one and replacing the MSB with the bit to be shifted in.

    >>> 1 +>>. 0b1111_0000 :: BitVector 8
    0b1111_1000
    
    >>> 0 +>>. 0b1111_0000 :: BitVector 8
    0b0111_1000
    

  6. (+#) :: forall (n :: Nat) . KnownNat n => BitVector n -> BitVector n -> BitVector n

    clash-prelude Clash.Sized.Internal.BitVector

    No documentation available.

  7. (++#) :: forall (m :: Nat) (n :: Nat) . KnownNat m => BitVector n -> BitVector m -> BitVector (n + m)

    clash-prelude Clash.Sized.Internal.BitVector

    Concatenate two BitVectors

  8. (+#) :: forall (n :: Nat) . KnownNat n => Index n -> Index n -> Index n

    clash-prelude Clash.Sized.Internal.Index

    No documentation available.

  9. (+#) :: forall (n :: Nat) . KnownNat n => Signed n -> Signed n -> Signed n

    clash-prelude Clash.Sized.Internal.Signed

    No documentation available.

  10. (+#) :: forall (n :: Nat) . KnownNat n => Unsigned n -> Unsigned n -> Unsigned n

    clash-prelude Clash.Sized.Internal.Unsigned

    No documentation available.

Page 26 of many | Previous | Next