<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def register_single(key, value, param=None):
    '''Generates resolver to return singleton value and adds it to global container'''
    get_current_scope().container.register(key, lambda: value, param)