def funex(c):
    """
	Compiles a scriptlet expression into a Python function

	:param c: function to compile
	:type c: string
	:return: the function 'f' declared in the input string
	:rtype: function
	"""
    dc = {}
    exec(c, dc)
    return dc['f']
