import Util ( mapAccumL )
#ifdef DEBUG
+import Util ( lengthIs )
import Outputable
#endif
\end{code}
srt_info | srt_length == 0 = NoSRT
| otherwise = SRT initial_offset srt_length
- in ASSERT( srt_length == length this_srt )
+ in ASSERT( this_srt `lengthIs` srt_length )
(srt_info, this_srt, new_offset)
\end{code}