{-# LANGUAGE DeriveGeneric #-}{-# LANGUAGE TemplateHaskell #-}moduleLocation( -- * Classes
Location(..)-- * Lenses
,area,section
)whereimportData.PrintableTextimportControl.LensimportControl.Lens.THimportGHC.Generics-- | Location of map in FFX in the form 'Area - Section'
-- | Section can be omitted
dataLocation=Location
{ _area ::PrintableText, _section ::MaybePrintableText
} deriving (Show, Generic)$(makeLenses ''Location)