How can I insert an additional argument after the last argument in a prolog procedure?
Posted
by Meko
on Stack Overflow
See other posts from Stack Overflow
or by Meko
Published on 2010-03-24T12:45:31Z
Indexed on
2010/03/24
13:03 UTC
Read the original article
Hit count: 293
I am new to learning prolog, and I want to know, if we have some procedure like
father("Nic","Adam").
and I want to write a function that it will add new value to this
father("Nic","Adam","something"..)
how can I do this? Using list? Or what?
© Stack Overflow or respective owner