openweathermap-0.2.0: Access data at OpenWeatherMap

Safe HaskellNone
LanguageHaskell2010

Web.OpenWeatherMap.Types.Location

Synopsis

Documentation

data Location Source #

Various way to specify location.

Constructors

Name String

City name.

Coord Double Double

Geographic coordinates: latitude and longitude.

Instances
HasClient m api => HasClient m (Location :> api) Source # 
Instance details

Defined in Web.OpenWeatherMap.Types.Location

Associated Types

type Client m (Location :> api) :: Type #

Methods

clientWithRoute :: Proxy m -> Proxy (Location :> api) -> Request -> Client m (Location :> api) #

hoistClientMonad :: Proxy m -> Proxy (Location :> api) -> (forall x. mon x -> mon' x) -> Client mon (Location :> api) -> Client mon' (Location :> api) #

type Client m (Location :> api) Source # 
Instance details

Defined in Web.OpenWeatherMap.Types.Location

type Client m (Location :> api) = Location -> Client m api