Logo GenPRES

TupleOptics Module

Holds the Lens onto the first element and the Lens onto the second element of a pair. The two lenses match fst_ and snd_ of the Aether library, because the dose rule optics in ZForm.Lib/DoseRule.fs compose onto them directly, as in DoseRange.NormWeight_ >-> fst_.

Functions and values

Function or value Description

fst_

Full Usage: fst_

Returns: Lens<('a * 'b), 'a>
Type parameters: 'a, 'b

Lens onto the first element of a 2-tuple.

Returns: Lens<('a * 'b), 'a>

snd_

Full Usage: snd_

Returns: Lens<('a * 'b), 'b>
Type parameters: 'a, 'b

Lens onto the second element of a 2-tuple.

Returns: Lens<('a * 'b), 'b>

Type something to start searching.