openweathermap-0.3.0: Access data at OpenWeatherMap
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.OpenWeatherMap.Types.Location

Synopsis

Documentation

data Location Source #

Various ways to specify location.

Constructors

Name String

City name.

Coord Double Double

Geographic coordinates: latitude and longitude.

Instances

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

Defined in Web.OpenWeatherMap.Types.Location

Associated Types

type Client m (Location :> api) #

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