A class for items which can be converted to and from property lists
| | Methods | | Convert the item to a property list, usually by simply wrapping the
value with the appropriate PropertyList_ constructor
| | | Convert a property list to a property list item if its contents
_exactly_ fit the target type. Note that when using types
such as Map String Int (as opposed to Map String
PropertyList) this will mean that a single element of the
dictionary of a non-Int type will cause the entire conversion to
fail.
| | | In order to support a general instance for lists without breaking
String, we use the same trick as the Prelude uses for Show.
Generally, the list methods should not be overridden, and maybe
they shouldn't even be exported.
| | |
| | Instances | PropertyListItem Bool | PropertyListItem Char | PropertyListItem Double | PropertyListItem Float | PropertyListItem Int | PropertyListItem Integer | PropertyListItem ByteString | PropertyListItem UTCTime | PropertyListItem UnparsedPlistItem | PropertyListItem PropertyList | PropertyListItem a => PropertyListItem ([] a) | (PropertyListItem a1, PropertyListItem a2) => PropertyListItem (Either a1 a2) | (PropertyListItem a1, PropertyListItem a2) => PropertyListItem (OneOf2 a1 a2) | PropertyListItem a => PropertyListItem (Map String a) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3) => PropertyListItem (OneOf3 a1 a2 a3) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4) => PropertyListItem (OneOf4 a1 a2 a3 a4) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5) => PropertyListItem (OneOf5 a1 a2 a3 a4 a5) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6) => PropertyListItem (OneOf6 a1 a2 a3 a4 a5 a6) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7) => PropertyListItem (OneOf7 a1 a2 a3 a4 a5 a6 a7) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8) => PropertyListItem (OneOf8 a1 a2 a3 a4 a5 a6 a7 a8) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9) => PropertyListItem (OneOf9 a1 a2 a3 a4 a5 a6 a7 a8 a9) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10) => PropertyListItem (OneOf10 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11) => PropertyListItem (OneOf11 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12) => PropertyListItem (OneOf12 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13) => PropertyListItem (OneOf13 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13, PropertyListItem a14) => PropertyListItem (OneOf14 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13, PropertyListItem a14, PropertyListItem a15) => PropertyListItem (OneOf15 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13, PropertyListItem a14, PropertyListItem a15, PropertyListItem a16) => PropertyListItem (OneOf16 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13, PropertyListItem a14, PropertyListItem a15, PropertyListItem a16, PropertyListItem a17) => PropertyListItem (OneOf17 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13, PropertyListItem a14, PropertyListItem a15, PropertyListItem a16, PropertyListItem a17, PropertyListItem a18) => PropertyListItem (OneOf18 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13, PropertyListItem a14, PropertyListItem a15, PropertyListItem a16, PropertyListItem a17, PropertyListItem a18, PropertyListItem a19) => PropertyListItem (OneOf19 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18 a19) | (PropertyListItem a1, PropertyListItem a2, PropertyListItem a3, PropertyListItem a4, PropertyListItem a5, PropertyListItem a6, PropertyListItem a7, PropertyListItem a8, PropertyListItem a9, PropertyListItem a10, PropertyListItem a11, PropertyListItem a12, PropertyListItem a13, PropertyListItem a14, PropertyListItem a15, PropertyListItem a16, PropertyListItem a17, PropertyListItem a18, PropertyListItem a19, PropertyListItem a20) => PropertyListItem (OneOf20 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18 a19 a20) |
|
|