I recently found myself having to wrap any functio...
# language-proposals
e
I recently found myself having to wrap any function, and it looks like the only way to do it is by manually creating overloads for every function signature, which is obviously impossible since there is an "infinite" number. Maybe not for every case, but it would be awesome if this was allowed at least for
inline
functions, something like:
Copy code
inline fun ((...) -> Action).bind(store: Store<*>) = { ...args -> store.dispatch(this(...args)) }