Adding curry.adapt and curry.adaptTo