<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _guess_concat(data):
 """ Guess concat function from given data """

    return {
        type(u''): u''.join,
        type(b''): concat_bytes,
    }.get(type(data), list)