Header menu logo issie

Compose Module

Functions for composing lenses and prisms with other optics, which returns a new lens or prism based on the optic composed. Open `Aether.Operators` to use the infix operator forms of these compositions, which is significantly less verbose.

Types

Type Description

Lens

Static overloads of the composition function for lenses (>->). These functions do not generally need to be called directly, but will be used when calling Compose.optic.

Prism

Static overloads of the composition function for prisms (>?>). These functions do not generally need to be called directly, but will be used when calling Compose.optic.

Functions and values

Function or value Description

lens l o

Full Usage: lens l o

Parameters:
    l : 'a
    o : ^b

Returns: 'c
Modifiers: inline
Type parameters: 'a, ^b, 'c

Compose a lens with an optic or morphism.

l : 'a
o : ^b
Returns: 'c

prism p o

Full Usage: prism p o

Parameters:
    p : 'a
    o : ^b

Returns: 'c
Modifiers: inline
Type parameters: 'a, ^b, 'c

Compose a prism with an optic or morphism.

p : 'a
o : ^b
Returns: 'c

Type something to start searching.