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. pattern (:<) :: Vec n a -> a -> Vec (n + 1) a

    clash-prelude Clash.Prelude.Safe

    Add an element to the tail of a vector.

    >>> (3:>4:>5:>Nil) :< 1
    3 :> 4 :> 5 :> 1 :> Nil
    
    >>> let x = (3:>4:>5:>Nil) :< 1
    
    >>> :t x
    x :: Num a => Vec 4 a
    
    Can be used as a pattern:
    >>> let f (_ :< y :< x) = y + x
    
    >>> :t f
    f :: Num a => Vec ((n + 1) + 1) a -> a
    
    >>> f (3:>4:>5:>6:>7:>Nil)
    13
    
    Also in conjunctions with (:>):
    >>> let g (a :> b :> (_ :< y :< x)) = a + b +  x + y
    
    >>> :t g
    g :: Num a => Vec ((((n + 1) + 1) + 1) + 1) a -> a
    
    >>> g (1:>2:>3:>4:>5:>Nil)
    12
    

  2. (:<>:) :: ErrorMessage -> ErrorMessage -> ErrorMessage

    clash-prelude Clash.Prelude.Safe

    Put two pieces of error message next to each other.

  3. pattern (:>) :: a -> Vec n a -> Vec (n + 1) a

    clash-prelude Clash.Prelude.Safe

    Add an element to the head of a vector.

    >>> 3:>4:>5:>Nil
    3 :> 4 :> 5 :> Nil
    
    >>> let x = 3:>4:>5:>Nil
    
    >>> :t x
    x :: Num a => Vec 3 a
    
    Can be used as a pattern:
    >>> let f (x :> y :> _) = x + y
    
    >>> :t f
    f :: Num a => Vec ((n + 1) + 1) a -> a
    
    >>> f (3:>4:>5:>6:>7:>Nil)
    7
    
    Also in conjunctions with (:<):
    >>> let g (a :> b :> (_ :< y :< x)) = a + b +  x + y
    
    >>> :t g
    g :: Num a => Vec ((((n + 1) + 1) + 1) + 1) a -> a
    
    >>> g (1:>2:>3:>4:>5:>Nil)
    12
    

  4. (:-) :: a -> Signal dom a -> Signal (dom :: Domain) a

    clash-prelude Clash.Signal.Internal

    The constructor, (:-), is not synthesizable.

  5. pattern (:<) :: Vec n a -> a -> Vec (n + 1) a

    clash-prelude Clash.Sized.Vector

    Add an element to the tail of a vector.

    >>> (3:>4:>5:>Nil) :< 1
    3 :> 4 :> 5 :> 1 :> Nil
    
    >>> let x = (3:>4:>5:>Nil) :< 1
    
    >>> :t x
    x :: Num a => Vec 4 a
    
    Can be used as a pattern:
    >>> let f (_ :< y :< x) = y + x
    
    >>> :t f
    f :: Num a => Vec ((n + 1) + 1) a -> a
    
    >>> f (3:>4:>5:>6:>7:>Nil)
    13
    
    Also in conjunctions with (:>):
    >>> let g (a :> b :> (_ :< y :< x)) = a + b +  x + y
    
    >>> :t g
    g :: Num a => Vec ((((n + 1) + 1) + 1) + 1) a -> a
    
    >>> g (1:>2:>3:>4:>5:>Nil)
    12
    

  6. pattern (:>) :: a -> Vec n a -> Vec (n + 1) a

    clash-prelude Clash.Sized.Vector

    Add an element to the head of a vector.

    >>> 3:>4:>5:>Nil
    3 :> 4 :> 5 :> Nil
    
    >>> let x = 3:>4:>5:>Nil
    
    >>> :t x
    x :: Num a => Vec 3 a
    
    Can be used as a pattern:
    >>> let f (x :> y :> _) = x + y
    
    >>> :t f
    f :: Num a => Vec ((n + 1) + 1) a -> a
    
    >>> f (3:>4:>5:>6:>7:>Nil)
    7
    
    Also in conjunctions with (:<):
    >>> let g (a :> b :> (_ :< y :< x)) = a + b +  x + y
    
    >>> :t g
    g :: Num a => Vec ((((n + 1) + 1) + 1) + 1) a -> a
    
    >>> g (1:>2:>3:>4:>5:>Nil)
    12
    

  7. (:<) :: a -> Infinite a -> Infinite a

    data-effects-th Data.Effect.HFunctor.TH

    No documentation available.

  8. (:<) :: a -> Infinite a -> Infinite a

    data-effects-th Data.Effect.TH

    No documentation available.

  9. (:<) :: Criterion

    data-sketches DataSketches.Quantiles.RelativeErrorQuantile

    No documentation available.

  10. (:<=) :: Criterion

    data-sketches DataSketches.Quantiles.RelativeErrorQuantile

    No documentation available.

Page 40 of many | Previous | Next