I have two lists
[a,b,c,d]
[c,d]
How would I implement a predicate what would return the list below
[a,b]
in Prolog.
Newbie to prolog. Finding it hard wrapping my head around recursion.
I have two lists
[a,b,c,d]
[c,d]
How would I implement a predicate what would return the list below
[a,b]
in Prolog.
Newbie to prolog. Finding it hard wrapping my head around recursion.