It makes sense to be able to perform something like partial application without the need for helpers out of the box.
One way of doing this is by using plain javascript functions. If it is not a sendscript reference we
can try to do something useful. How is still unclear.
example:
const putPost = title => getPost(title).catch(() => updatePost(title))
Alternative is to allow fn.bind where the this is ignored regardless what is passed to it. This reads less nice since the this is ignored and creates noise.
It makes sense to be able to perform something like partial application without the need for helpers out of the box.
One way of doing this is by using plain javascript functions. If it is not a sendscript reference we
can try to do something useful. How is still unclear.
example:
Alternative is to allow fn.bind where the this is ignored regardless what is passed to it. This reads less nice since the this is ignored and creates noise.