Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. (<.>) :: FilePath -> Text -> FilePath

    system-filepath Filesystem.Path

    An alias for addExtension.

  2. (!<<.) :: Bits a => a -> Int -> a

    ghc-internal GHC.Internal.Data.Bits

    Infix version of unsafeShiftL.

  3. (!>>.) :: Bits a => a -> Int -> a

    ghc-internal GHC.Internal.Data.Bits

    Infix version of unsafeShiftR.

  4. ( #. ) :: Coercible b c => (b -> c) -> (a -> b) -> a -> c

    ghc-internal GHC.Internal.Data.Functor.Utils

    No documentation available.

  5. newtype ((f :: k2 -> Type) :.: (g :: k1 -> k2)) (p :: k1)

    ghc-internal GHC.Internal.Generics

    Composition of functors

  6. (!.!) :: (Numeric r e, Source r e) => Vector r e -> Vector r e -> e

    massiv Data.Massiv.Array.Numeric

    Dot product of two vectors.

    • Partial Throws an impure exception when lengths of vectors do not match

  7. (*.) :: (Index ix, Numeric r e) => e -> Array r ix e -> Array r ix e

    massiv Data.Massiv.Array.Numeric

    Multiply each element of the array by a scalar value. Scalar is on the left.

    Example

    >>> let arr = Ix1 20 ..: 25
    
    >>> arr
    Array D Seq (Sz1 5)
    [ 20, 21, 22, 23, 24 ]
    
    >>> 10 *. arr
    Array D Seq (Sz1 5)
    [ 200, 210, 220, 230, 240 ]
    

  8. (+.) :: (Index ix, Numeric r e) => e -> Array r ix e -> Array r ix e

    massiv Data.Massiv.Array.Numeric

    Add a scalar to each element of the array. Array is on the right.

  9. (-.) :: (Index ix, Numeric r e) => e -> Array r ix e -> Array r ix e

    massiv Data.Massiv.Array.Numeric

    Subtract each element of the array from a scalar. Array is on the right.

  10. (/.) :: (Index ix, NumericFloat r e) => e -> Array r ix e -> Array r ix e

    massiv Data.Massiv.Array.Numeric

    Divide a scalar value by each element of the array.

    e /. arr == e *. recipA arr
    

    Example

    >>> let arr = fromIntegral <$> (Ix1 20 ..: 25) :: Array D Ix1 Float
    
    >>> arr
    Array D Seq (Sz1 5)
    [ 20.0, 21.0, 22.0, 23.0, 24.0 ]
    
    >>> 100 /. arr
    Array D Seq (Sz1 5)
    [ 5.0, 4.7619047, 4.5454545, 4.347826, 4.1666665 ]
    

Page 113 of many | Previous | Next