Hello!
I have predicates defined as
b(S,G) ::= something.
::= is a defined operator,
S and G are variables.
I need a function, that takes an argument in the form of b(S,G), and finds, what it is related to:
related(E):-
E(_,_) ::= X,
write(X).
this of course doesn't work. So how can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.