Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

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

    linear Linear.Affine

    No documentation available.

  2. (.+^) :: (Affine p, Num a) => p a -> Diff p a -> p a

    linear Linear.Affine

    Add a vector offset to a point.

  3. (.-.) :: (Affine p, Num a) => p a -> p a -> Diff p a

    linear Linear.Affine

    Get the difference between two points as a vector offset.

  4. (.-^) :: (Affine p, Num a) => p a -> Diff p a -> p a

    linear Linear.Affine

    Subtract a vector offset from a point.

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

    optics-core Optics.Internal.Utils

    Composition operator where the second argument must be an identity function up to representational equivalence (e.g. a newtype wrapper or unwrapper), and will be ignored at runtime.

  6. (.~) :: forall k (is :: IxList) s t a b . Is k A_Setter => Optic k is s t a b -> b -> s -> t

    optics-core Optics.Operators

    Infix version of set.

  7. type x ./. (n :: Nat) = Mod n x

    hmatrix Numeric.LinearAlgebra.Data

    No documentation available.

  8. (.=) :: ObjectCodec oldInput output -> (newInput -> oldInput) -> ObjectCodec newInput output

    autodocodec Autodocodec

    Infix version of lmapCodec Use this function to supply the rendering side of a codec.

    (.=) = flip lmapCodec
    

    Example usage

    data Example = Example
    { exampleText :: !Text,
    exampleBool :: !Bool
    }
    instance HasCodec Example where
    codec =
    object "Example" $
    Example
    <$> requiredField "text" .= exampleText
    <*> requiredField "bool" .= exampleBool
    

  9. (.=) :: ObjectCodec oldInput output -> (newInput -> oldInput) -> ObjectCodec newInput output

    autodocodec Autodocodec.Codec

    Infix version of lmapCodec Use this function to supply the rendering side of a codec.

    (.=) = flip lmapCodec
    

    Example usage

    data Example = Example
    { exampleText :: !Text,
    exampleBool :: !Bool
    }
    instance HasCodec Example where
    codec =
    object "Example" $
    Example
    <$> requiredField "text" .= exampleText
    <*> requiredField "bool" .= exampleBool
    

  10. (.~) :: ASetter s t a b -> b -> s -> t

    rio RIO

    (.~) assigns a value to the target. It's the same thing as using (%~) with const:

    l .~ x = l %~ const x
    
    See set if you want a non-operator synonym. Here it is used to change 2 fields of a 3-tuple:
    >>> (0,0,0) & _1 .~ 1 & _3 .~ 3
    (1,0,3)
    

Page 13 of many | Previous | Next