Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. (.~) :: Setter s t a b -> b -> s -> t

    lens-family Lens.Family2

    Set all referenced fields to the given value.

  2. (.=) :: MonadState s m => Setter s s a b -> b -> m ()

    lens-family Lens.Family2.State.Lazy

    Set a field of the state.

  3. (.=) :: MonadState s m => Setter s s a b -> b -> m ()

    lens-family Lens.Family2.State.Strict

    Set a field of the state.

  4. (...) :: Index ix => ix -> ix -> Array D ix ix

    massiv Data.Massiv.Array

    Handy synonym for rangeInclusive Seq. Similar to .. for list.

    >>> Ix1 4 ... 10
    Array D Seq (Sz1 7)
    [ 4, 5, 6, 7, 8, 9, 10 ]
    

  5. (..:) :: Index ix => ix -> ix -> Array D ix ix

    massiv Data.Massiv.Array

    Handy synonym for range Seq

    >>> Ix1 4 ..: 10
    Array D Seq (Sz1 6)
    [ 4, 5, 6, 7, 8, 9 ]
    

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

    massiv Data.Massiv.Array.Numeric

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

    Example

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

  7. (.**) :: (Index ix, Source r1 e, Source r2 e, Floating e) => Array r1 ix e -> Array r2 ix e -> Array D ix e

    massiv Data.Massiv.Array.Numeric

    Apply power to each element of the array where the power value is in the same cell in the second array.

    arr1 .** arr2 == zipWith (**) arr1 arr2
    
    • Partial Throws an error when arrays do not have matching sizes

  8. (.*.) :: (Index ix, Numeric r e, MonadThrow m) => Array r ix e -> Array r ix e -> m (Array r ix e)

    massiv Data.Massiv.Array.Numeric

    Multiply two arrays together pointwise. Same as !*! but produces monadic computation that allows for handling failure. Throws Exception: SizeMismatchException when array sizes do not match.

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

    massiv Data.Massiv.Array.Numeric

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

  10. (.+.) :: (Index ix, Numeric r e, MonadThrow m) => Array r ix e -> Array r ix e -> m (Array r ix e)

    massiv Data.Massiv.Array.Numeric

    Add two arrays together pointwise. Same as !+! but produces monadic computation that allows for handling failure. Throws Exception: SizeMismatchException when array sizes do not match.

Page 22 of many | Previous | Next