I'd like to be able to write something like
get_structural_ty(lhs, ty_names)
>>= (lhs) => get_structural_ty(rhs, ty_names)
>>= (rhs) => pure(Ty_lam(lhs, rhs))
however, when refmt is run on this code, it turns out like
get_structural_ty(lhs, ty_names)
>>= ((lhs) => get_structural_ty(rhs, ty_names) >>= ((rhs) => pure(Ty_lam(lhs, rhs))))
which is quite a bit less readable.