Ciao Preprocessor (integrated Alpha version)
| This is an alpha distribution, meant only for testing. Please do let us
| know at ciaopp-bugclip.dia.fi.upm.es any problems you may have.
{Reading /tmp/tmpOF9CNo/list.pl
}
{In /tmp/tmpOF9CNo/list.pl
{loaded in 3404.214 msec.}
{preprocessed for plai in 0.0 msec.}
{analyzed by plai using det with local-control off in 4.0 msec.}
{written file /tmp/tmpOF9CNo/list_det_co.pl}
:- module(_1,[list/1],[assertions]).
:- entry list(A)
: ground(A).
:- true pred list(A)
: ( ground([A]), gnd(A) )
=> ( ground([A]), rt3(A) )
+ ( is_det, mut_exclusive ).
list([H|Ts]) :-
list(Ts).
list([]).
:- regtype rt4/1.
rt4([]).
rt4([A|B]) :-
gnd(A),
rt4(B).
:- regtype rt3/1.
rt3([]).
rt3([A|B]) :-
gnd(A),
rt4(B).