Logo GenPRES

Source Module

Unwraps a measured or estimated value, tells whether the value was measured, and wraps a value as measured or estimated.

Functions and values

Function or value Description

fromDto estimated v

Full Usage: fromDto estimated v

Parameters:
    estimated : bool
    v : 'a

Returns: Source<'a>
Type parameters: 'a

Returns Estimated v when estimated is true, else Measured v.

estimated : bool
v : 'a
Returns: Source<'a>

isMeasured _arg1

Full Usage: isMeasured _arg1

Parameters:
Returns: bool
Type parameters: 'a

Whether the value was measured.

_arg1 : Source<'a>
Returns: bool

value _arg1

Full Usage: value _arg1

Parameters:
Returns: 'a
Type parameters: 'a

The value, measured or estimated.

_arg1 : Source<'a>
Returns: 'a

Type something to start searching.