DSL-FR provides an extend keyword that allows programmers to add and modify methods of various types at compile-time, including built-in types like int or string.
extend
int
string
extend image function save( filepath ) ... # save image to the given filepath