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.
(
.# ) :: Coercible b a => (b -> c) -> (a -> b) -> a -> clinear Linear.Affine No documentation available.
(
.+^ ) :: (Affine p, Num a) => p a -> Diff p a -> p alinear Linear.Affine Add a vector offset to a point.
(
.-. ) :: (Affine p, Num a) => p a -> p a -> Diff p alinear Linear.Affine Get the difference between two points as a vector offset.
(
.-^ ) :: (Affine p, Num a) => p a -> Diff p a -> p alinear Linear.Affine Subtract a vector offset from a point.
(
.# ) :: Coercible a b => (b -> c) -> (a -> b) -> a -> coptics-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.
(
.~ ) :: forall k (is :: IxList) s t a b . Is k A_Setter => Optic k is s t a b -> b -> s -> toptics-core Optics.Operators Infix version of set.
type x
./. (n :: Nat) = Mod n xhmatrix Numeric.LinearAlgebra.Data No documentation available.
(
.= ) :: ObjectCodec oldInput output -> (newInput -> oldInput) -> ObjectCodec newInput outputautodocodec 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(
.= ) :: ObjectCodec oldInput output -> (newInput -> oldInput) -> ObjectCodec newInput outputautodocodec 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(
.~ ) :: ASetter s t a b -> b -> s -> trio 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)