Published on February 15, 2009

creep prolog strange

Creep is someone unpleasantly strange or eccentric and Prolog is calling me that.

Prolog calling me a creep

Prolog calling me a creep

[code lang=“bash”]41 ?- q5([1, 2], 1, A).

ERROR: is/2: Arguments are not sufficiently instantiated

^ Exception: (8) 1 is _G372-1 ? No previous search

^ Exception: (8) 1 is _G372-1 ? No previous search

^ Exception: (8) 1 is _G372-1 ? Unknown option (h for help)

^ Exception: (8) 1 is _G372-1 ? Unknown option (h for help)

^ Exception: (8) 1 is _G372-1 ? creep[/code]

What is this “creep” business? In SWI Prolog, the implementation of Prolog which this dictionary uses for the syntax of its examples, when you press return at the end of a line of tracing, Prolog prints “creep” on the same line, and then prints the next line of trace output on the next line. Pressing return again produces “creep” again and another line of tracing, and so on. (Source)

comments powered by Disqus