]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Add a TODO comment to TSN.XML.AutoRacingResults.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 24 Jun 2014 21:05:49 +0000 (17:05 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 24 Jun 2014 21:05:49 +0000 (17:05 -0400)
src/TSN/XML/AutoRacingResults.hs

index bfc07d178b52c233cc691b19c2f3bab94a7aa3c8..179b8ab43cdaf4be124f70f268cad85a954cb5b7 100644 (file)
@@ -522,7 +522,7 @@ pickle_race_information =
     xpWrap (from_tuple, to_tuple) $
     xp11Tuple (-- I can't think of another way to get both the
                -- TrackLength and its KPH attribute. So we shove them
-               -- both in a 2-tuple.
+               -- both in a 2-tuple. This should probably be an embedded type!
                  xpElem "TrackLength" $ xpPair xpPrim (xpAttr "KPH" xpPrim) )
               (xpElem "Laps" xpInt)
               (xpOption $ xpElem "AverageSpeedMPH" xpPrim)