:- module det_errors. :- interface. :- pred p1(int::in) is det. :- pred p2(int::in) is det. :- pred p3(int::in) is det. :- pred p4(int::in) is det. :- pred p5(int::in) is det. :- implementation. :- import_module int. p1(42). p2(X) :- X = 42. p3(X) :- X is 42. p4(X) :- X is 21 + 21. p5(_) :- true.