Uses of Package
io.atlassian.fugue.optic
-
Packages that use io.atlassian.fugue.optic Package Description io.atlassian.fugue.optic io.atlassian.fugue.optic.law io.atlassian.fugue.optic.std -
Classes in io.atlassian.fugue.optic used by io.atlassian.fugue.optic Class Description Fold AFoldcan be seen as aGetterwith many targets or a weakerPTraversalwhich cannot modify its target.Getter AGettercan be seen as a glorified get method between a type S and a type A.Iso PIsowhen S = T and A = BLens PLenswith a monomorphic set functionOptional POptionalrestricted to monomorphic updatePIso APIsodefines an isomorphism between types S, A and B, T:PLens APLenscan be seen as a pair of functions: - `get: S => A` i.e.POptional APOptionalcan be seen as a pair of functions: - `getOrModify: S => T \/ A` - `set : (B, S) => T`PPrism APPrismcan be seen as a pair of functions: - `getOrModify: S => T \/ A` - `reverseGet : B => T`Prism PPrismrestricted to monomorphic updatePSetter APSetteris a generalisation of Functor map: - `map: (A => B) => F[A] => F[B]` - `modify: (A => B) => S => T`PTraversal APTraversalcan be seen as aPOptionalgeneralised to 0 to n targets where n can be infinite.Setter PSetterwith a monomorphic modify functionTraversal -
Classes in io.atlassian.fugue.optic used by io.atlassian.fugue.optic.law Class Description PIso APIsodefines an isomorphism between types S, A and B, T:PLens APLenscan be seen as a pair of functions: - `get: S => A` i.e.POptional APOptionalcan be seen as a pair of functions: - `getOrModify: S => T \/ A` - `set : (B, S) => T`PPrism APPrismcan be seen as a pair of functions: - `getOrModify: S => T \/ A` - `reverseGet : B => T`PSetter APSetteris a generalisation of Functor map: - `map: (A => B) => F[A] => F[B]` - `modify: (A => B) => S => T`PTraversal APTraversalcan be seen as aPOptionalgeneralised to 0 to n targets where n can be infinite. -
Classes in io.atlassian.fugue.optic used by io.atlassian.fugue.optic.std Class Description Iso PIsowhen S = T and A = BLens PLenswith a monomorphic set functionPLens APLenscan be seen as a pair of functions: - `get: S => A` i.e.PPrism APPrismcan be seen as a pair of functions: - `getOrModify: S => T \/ A` - `reverseGet : B => T`Prism PPrismrestricted to monomorphic update