Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Position = Position' {}
- newPosition :: Position
- position_elevation :: Lens' Position (Maybe Double)
- position_elevationReference :: Lens' Position (Maybe ElevationReference)
- position_elevationUnit :: Lens' Position (Maybe ElevationUnit)
- position_latitude :: Lens' Position (Maybe Double)
- position_longitude :: Lens' Position (Maybe Double)
Documentation
Information about a position.
See: newPosition
smart constructor.
Position' | |
|
Instances
newPosition :: Position Source #
Create a value of Position
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:elevation:Position'
, position_elevation
- The elevation of the equipment at this position.
$sel:elevationReference:Position'
, position_elevationReference
- The reference point from which elevation is reported.
$sel:elevationUnit:Position'
, position_elevationUnit
- The units used to measure the elevation of the position.
$sel:latitude:Position'
, position_latitude
- The latitude of the position.
$sel:longitude:Position'
, position_longitude
- The longitude of the position.
position_elevation :: Lens' Position (Maybe Double) Source #
The elevation of the equipment at this position.
position_elevationReference :: Lens' Position (Maybe ElevationReference) Source #
The reference point from which elevation is reported.
position_elevationUnit :: Lens' Position (Maybe ElevationUnit) Source #
The units used to measure the elevation of the position.