Livescript has a shorthand for this:

    set-node-pos: (@node-pos) !->