[utils] added: curried function decorator