{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE TemplateHaskell #-} ------------------------------------------------------------------------------- -- | -- Module : Text.XML.Twiml.Lenses -- Copyright : (C) 2018 Mark Andrus Roberts -- License : BSD-style (see the file LICENSE) -- Maintainer : Mark Andrus Roberts -- Stability : provisional -- -- This module defines lenses for use with TwiML attributes. Lenses are -- re-exported by the modules. ------------------------------------------------------------------------------- module Text.XML.Twiml.Lenses where import Control.Lens hiding (to) import Text.XML.Twiml.Internal.Twiml makeLensesWith abbreviatedFields ''SayAttributes makeLensesWith abbreviatedFields ''PlayAttributes makeLensesWith abbreviatedFields ''GatherAttributes makeLensesWith abbreviatedFields ''RecordAttributes makeLensesWith abbreviatedFields ''SmsAttributes makeLensesWith abbreviatedFields ''DialAttributes makeLensesWith abbreviatedFields ''DialNoun makeLensesWith abbreviatedFields ''NumberAttributes makeLensesWith abbreviatedFields ''SipAttributes makeLensesWith abbreviatedFields ''ClientAttributes makeLensesWith abbreviatedFields ''ConferenceAttributes makeLensesWith abbreviatedFields ''QueueAttributes makeLensesWith abbreviatedFields ''EnqueueAttributes makeLensesWith abbreviatedFields ''RedirectAttributes makeLensesWith abbreviatedFields ''RejectAttributes makeLensesWith abbreviatedFields ''PauseAttributes makeLensesWith abbreviatedFields ''MessageAttributes