[m-dev.] help with polymorphic modes

Peter Wang novalazy at gmail.com
Tue Sep 2 15:19:44 AEST 2014


Hi,

Just to make sure, this is mode incorrect, yes?

    :- pred p(pred(T), T).
    :- mode p(pred(in(I =< ground)) is det, in) is det.

    p(P, X) :- P(X).

Peter



More information about the developers mailing list