----------------------------------------------------------------------------- -- -- Module : Text.XML.Plist.PlObject -- Copyright : (c) Yuras Shumovich 2009 -- License : BSD3 -- -- Maintainer : shumovichy@gmail.com -- Stability : experimental -- Portability : portable -- -- |PlObject data type -- ----------------------------------------------------------------------------- module Text.XML.Plist.PlObject ( PlObject(..) ) where import Data.Word -- |Data type that represents plist object data PlObject = -- |string PlString String | -- |bool PlBool Bool | -- |integer PlInteger Int | -- |real PlReal Double | -- |array PlArray [PlObject] | -- |dictionary PlDict [(String, PlObject)] | -- |raw data PlData [Word8] | -- |date (ISO 8601, but currently it is not validated) PlDate String deriving Show