Re: Code not working

Adam Russell <[email protected]> Mon, 17 May 2021 13:02:33 -0400
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Hrithik Singh wrote:
> I have executed the following code :
> bfs(X,Y,P)
>   bfs_a(Y,[n(X,[])],R),
>   reverse(R,P).
> 
> But it is showing an error.... Can you please send the right code to 
> help me.

it seems you are missing most of your code! Where is the definition of 
bfs and bfs_a?

this mailing list is not really geared for lengthy help threads. you may 
have better luck getting Prolog help on Discord. Try his server and ask 
in the #help channel. https://discord.gg/5YuksfEA

Note: that invite link expires one week from today (17 May 2021)