ML p(r)ior | The Grail theorem prover: Type theory for syntax and semantics