@@ -319,8 +319,12 @@ prop_TL_partition p = L.partition p `eqP` (unpack2 . TL.partition p)
319319
320320prop_T_index x s = x < L.length s && x >= 0 ==>
321321 (L.!!) s x == T.index (packT s) x
322+prop_TL_index x s = x < L.length s && x >= 0 ==>
323+ (L.!!) s x == TL.index (packT s) (fromIntegral x)
322324prop_T_findIndex p = L.findIndex p `eqP` T.findIndex p
323−prop_T_findIndices p = L.findIndices p`eqP` T.findIndices p
325+prop_TL_findIndex p = (fmap fromIntegral . L.findIndex p) `eqP` TL.findIndex p
326+prop_T_findIndices p = L.findIndices p `eqP` T.findIndices p
327+prop_TL_findIndices p = (fmap fromIntegral . L.findIndices p) `eqP` TL.findIndices p
324328prop_T_elemIndex c = L.elemIndex c `eqP` T.elemIndex c
325329prop_T_elemIndices c = L.elemIndices c`eqP` T.elemIndices c
326330prop_T_count c = (L.length . L.elemIndices c) `eqP` T.count c
@@ -523,7 +527,9 @@ tests = [
523527
524528 ("prop_T_index", mytest prop_T_index),
525529 ("prop_T_findIndex", mytest prop_T_findIndex),
530+ ("prop_TL_findIndex", mytest prop_TL_findIndex),
526531 ("prop_T_findIndices", mytest prop_T_findIndices),
532+ ("prop_TL_findIndices", mytest prop_TL_findIndices),
527533 ("prop_T_elemIndex", mytest prop_T_elemIndex),
528534 ("prop_T_elemIndices", mytest prop_T_elemIndices),
529535 ("prop_T_count", mytest prop_T_count),