nl: substitute the results in a list for T. join elements of T in a bytes string, append first r elements of result of the call to the function F with an argument l to it,
code: return b'' . join ( T ) + F ( l ) [ : r ]