Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getLatitude :: MonadDOM m => Coordinates -> m Double
- getLongitude :: MonadDOM m => Coordinates -> m Double
- getAltitude :: MonadDOM m => Coordinates -> m (Maybe Double)
- getAltitudeUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double
- getAltitudeUnchecked :: MonadDOM m => Coordinates -> m Double
- getAccuracy :: MonadDOM m => Coordinates -> m Double
- getAltitudeAccuracy :: MonadDOM m => Coordinates -> m (Maybe Double)
- getAltitudeAccuracyUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double
- getAltitudeAccuracyUnchecked :: MonadDOM m => Coordinates -> m Double
- getHeading :: MonadDOM m => Coordinates -> m (Maybe Double)
- getHeadingUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double
- getHeadingUnchecked :: MonadDOM m => Coordinates -> m Double
- getSpeed :: MonadDOM m => Coordinates -> m (Maybe Double)
- getSpeedUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double
- getSpeedUnchecked :: MonadDOM m => Coordinates -> m Double
- newtype Coordinates = Coordinates {}
- gTypeCoordinates :: JSM GType
Documentation
getLatitude :: MonadDOM m => Coordinates -> m Double Source #
getLongitude :: MonadDOM m => Coordinates -> m Double Source #
getAltitude :: MonadDOM m => Coordinates -> m (Maybe Double) Source #
getAltitudeUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double Source #
getAltitudeUnchecked :: MonadDOM m => Coordinates -> m Double Source #
getAccuracy :: MonadDOM m => Coordinates -> m Double Source #
getAltitudeAccuracy :: MonadDOM m => Coordinates -> m (Maybe Double) Source #
getAltitudeAccuracyUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double Source #
getAltitudeAccuracyUnchecked :: MonadDOM m => Coordinates -> m Double Source #
getHeading :: MonadDOM m => Coordinates -> m (Maybe Double) Source #
getHeadingUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double Source #
getHeadingUnchecked :: MonadDOM m => Coordinates -> m Double Source #
getSpeedUnsafe :: (MonadDOM m, HasCallStack) => Coordinates -> m Double Source #
getSpeedUnchecked :: MonadDOM m => Coordinates -> m Double Source #
newtype Coordinates Source #
Functions for this inteface are in JSDOM.Coordinates.
Instances
PToJSVal Coordinates Source # | |
Defined in JSDOM.Types pToJSVal :: Coordinates -> JSVal # | |
PFromJSVal Coordinates Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Coordinates # | |
ToJSVal Coordinates Source # | |
Defined in JSDOM.Types toJSVal :: Coordinates -> JSM JSVal # toJSValListOf :: [Coordinates] -> JSM JSVal # | |
FromJSVal Coordinates Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe Coordinates) # fromJSValUnchecked :: JSVal -> JSM Coordinates # fromJSValListOf :: JSVal -> JSM (Maybe [Coordinates]) # fromJSValUncheckedListOf :: JSVal -> JSM [Coordinates] # | |
MakeObject Coordinates Source # | |
Defined in JSDOM.Types makeObject :: Coordinates -> JSM Object # | |
IsGObject Coordinates Source # | |
Defined in JSDOM.Types typeGType :: Coordinates -> JSM GType |