Data.PropertyList
Documentation
data PropertyList a Source
Constructors
| PLArray [PropertyList a] | |
| PLData ByteString | |
| PLDate UTCTime | |
| PLDict (Map String (PropertyList a)) | |
| PLReal Double | |
| PLInt Integer | |
| PLString String | |
| PLBool Bool | |
| PLVar a |
Instances
| Monad PropertyList | |
| Functor PropertyList | |
| Eq a => Eq (PropertyList a) | |
| Ord a => Ord (PropertyList a) | |
| Read a => Read (PropertyList a) | |
| Show a => Show (PropertyList a) |
foldPropertyList :: ([a] -> a) -> (ByteString -> a) -> (UTCTime -> a) -> (Map String a -> a) -> (Double -> a) -> (Integer -> a) -> (String -> a) -> (Bool -> a) -> (t -> a) -> PropertyList t -> aSource
data UnparsedPlistItem Source
Constructors
| UnparsedData String | |
| UnparsedDate String | |
| UnparsedInt String | |
| UnparsedReal String |
unparsedPlistItemToPlistItem :: UnparsedPlistItem -> PlistItemSource
plistToPropertyList :: Plist -> PropertyList UnparsedPlistItemSource
plistItemToPropertyList :: PlistItem -> PropertyList UnparsedPlistItemSource
parsePlistItem :: PlistItem -> Either (PropertyList PlistItem) UnparsedPlistItemSource
propertyListToPlist :: (a -> PlistItem) -> PropertyList a -> PlistSource
propertyListToPlistItem :: (a -> PlistItem) -> PropertyList a -> PlistItemSource