does anyone know why the indent is not shown at the beginning of the line?
This is a text editor question. What text editor are you using? In general, just go to the start of that line and press tab, because this indentation doesn’t make sense.
1 Like
I’m using Emacs 26.3
So just 1 question: Do you have a Prolog mode installed?
Regardless, your code should look like:
nfa(A,B) :-
gensym(q, QI),
assert(),
gensym(),
assert(),
assert().
I don’t know it, so i’m going to check
edit : not installed, so i’m gonna do it