Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Prolog

Name: Anonymous 2013-10-08 19:43

Interesting papers, projects that use it, learning resources, ...

Everything related to Prolog is welcome in the most logical thread of /prolog/.

Name: Anonymous 2014-06-03 13:23


listp([]).
listp([X|Y]) :- listp(Y).


So to find out if a list is a list we need to go through the whole list???!?!? Isn't that a little inefficient?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List