Documentation
¶
Index ¶
- func ForProduct2[T, A, B any](attr ...string) (Lens[T, A], Lens[T, B])
- func ForProduct3[T, A, B, C any](attr ...string) (Lens[T, A], Lens[T, B], Lens[T, C])
- func ForProduct4[T, A, B, C, D any](attr ...string) (Lens[T, A], Lens[T, B], Lens[T, C], Lens[T, D])
- func ForProduct5[T, A, B, C, D, E any](attr ...string) (Lens[T, A], Lens[T, B], Lens[T, C], Lens[T, D], Lens[T, E])
- func ForProduct6[T, A, B, C, D, E, F any](attr ...string) (Lens[T, A], Lens[T, B], Lens[T, C], Lens[T, D], Lens[T, E], Lens[T, F])
- func ForProduct7[T, A, B, C, D, E, F, G any](attr ...string) (Lens[T, A], Lens[T, B], Lens[T, C], Lens[T, D], Lens[T, E], Lens[T, F], ...)
- func ForProduct8[T, A, B, C, D, E, F, G, H any](attr ...string) (Lens[T, A], Lens[T, B], Lens[T, C], Lens[T, D], Lens[T, E], Lens[T, F], ...)
- func ForProduct9[T, A, B, C, D, E, F, G, H, I any](attr ...string) (Lens[T, A], Lens[T, B], Lens[T, C], Lens[T, D], Lens[T, E], Lens[T, F], ...)
- type Lens
- func ForProduct1[T, A any](attr ...string) Lens[T, A]
- func NewLens[S, A any](t hseq.Type[S]) Lens[S, A]
- func NewLensStruct[S, A any](t hseq.Type[S]) Lens[S, A]
- func NewLensStructFloat64[S any](t hseq.Type[S]) Lens[S, float64]
- func NewLensStructInt[S any](t hseq.Type[S]) Lens[S, int]
- func NewLensStructString[S any](t hseq.Type[S]) Lens[S, string]
- type Morphism
- type Morphisms
- type Reflector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForProduct2 ¶
ForProduct2 unfold 2 attribute of type
func ForProduct3 ¶
func ForProduct4 ¶
func ForProduct5 ¶
func ForProduct6 ¶
func ForProduct7 ¶
func ForProduct8 ¶
Types ¶
type Lens ¶
Lens resembles concept of getters and setters, which you can compose using functional concepts. In other words, this is combinator data transformation for pure functional data structure.
func ForProduct1 ¶
ForProduct1 unfold 1 attribute of type
func NewLensStructFloat64 ¶ added in v0.9.1
Click to show internal directories.
Click to hide internal directories.