composable adaptor with type specialization for basis case of raw function