[logic-ml] third-order functionals on partial combinatory algebras