xp6Tuple,
xp10Tuple,
xpElem,
+ xpInt,
xpList,
xpPrim,
xpText,
xpElem "PlayerListing" $
xpWrap (from_tuple, to_tuple) $
xp10Tuple (xpElem "TeamID" xp_team_id)
- (xpElem "PlayerID" xpPrim)
+ (xpElem "PlayerID" xpInt)
(xpElem "Date" xp_date)
(xpElem "Pos" xpText)
(xpElem "Name" xpText)
(xpElem "Injury" xpText)
(xpElem "Status" xpText)
(xpElem "Fantasy" xpText0)
- (xpElem "Injured" xpickle)
+ (xpElem "Injured" xpPrim)
(xpElem "Type" xpText)
where
from_tuple = uncurryN PlayerListing
pickle_message =
xpElem "message" $
xpWrap (from_tuple, to_tuple) $
- xp6Tuple (xpElem "XML_File_ID" xpPrim)
+ xp6Tuple (xpElem "XML_File_ID" xpInt)
(xpElem "heading" xpText)
(xpElem "category" xpText)
(xpElem "sport" xpText)