def implied_type_conversion(value, to_type, implied=True):
from_type = type_(value)
if type(to_type) == dict: to_type = to_type[from_type]
if from_type == to_type: return value
if implied: warn(f'IMPL TYPE CONV AT LINE {current_line+1}')
if from_type == 'int' and to_type == 'float': return float(value)
if from_type == 'float' and to_type == 'int': return int(value//1)
if from_type == 'string' and to_type == 'character': return value[0]
if from_type == 'array' and to_type == 'set': return set(value)