OSM-0.5.0: Parse OpenStreetMap files

Data.Geo.OSM.Accessor.BoundOrs

Description

Values with a bounds accessor which is either empty, a Bound or a Bounds.

bounds

Bound

Bounds

class BoundOrs a whereSource

Methods

boundOrs :: a -> x -> (Bound -> x) -> (Bounds -> x) -> xSource

setBoundOrs :: Maybe (Either Bound Bounds) -> a -> aSource

setBound :: Bound -> a -> aSource

setBounds :: Bounds -> a -> aSource

usingBoundOrs :: a -> (Maybe (Either Bound Bounds) -> Maybe (Either Bound Bounds)) -> aSource

Instances