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

Pages: 1-

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: sage 2013-10-08 20:44

Progol

Name: Anonymous 2013-10-08 21:55

/ Pro golf /

Name: Anonymous 2013-10-09 6:28

>>3
That only happened to Tigger, until he whored his Wood.

>>1
https://en.wikipedia.org/wiki/Prolog#Further_reading

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?

Name: Anonymous 2014-06-03 13:44

>>5
Type system will never lie to you -- [a] is [a]

Name: Anonymous 2014-06-03 13:46

>>5
Only if your static analyzer is a piece of shit.

Name: Anonymous 2014-06-03 14:20


shit(X).
Yes.

Name: Anonymous 2014-06-03 14:22

>>7
Gee, what's the time complexity on that? “Oh, never?”

Name: Types are assertions. 2014-06-03 14:23

Types are assertions.

Name: Assert my anus 2014-06-03 14:39

Assert my anus

Name: Anonymous 2014-06-03 14:40

Name: Anonymous 2014-06-03 14:42

>>9
Just because you're too dumb to write a static analyzer doesn't mean everyone is you pseudointellectual cretin.

Name: Anonymous 2014-06-03 14:46

>>13
Do you even know what the complexity of it is? Hint: it's worse than chasing down pointers in O(n).

Name: Anonymous 2014-06-03 14:47

>>13
Show us the nasty end of your pseudo-intellectual nutty atheist shotgun, Jacques.

Name: Anonymous 2014-06-04 14:38

>>13
So i should write a static analyser just to use prolog? That's not practical

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