This is so far the .pro file I could think of. I want to print / get / output the first occurrence (=first Head) of "thelist".
Why it always return NO at all time? Thanks
... thelist([H|_]), write(H), nl, ...