|
From: | Daniel Diaz |
Subject: | Re: Predicate ordering when using current_predicate/1 |
Date: | Sat, 23 Nov 2013 12:28:57 +0100 |
Hi Sean Well done ! However, I don’t understand why you added the call to keysort/2 since setof/3 already sorts the list (this is the only difference between setof/ and bagof/3). You can remove it. Daniel PS: about sockets: I have put a version in the git which adds the SO_REUSEADDR option at socket creation. To get it: git clone git://git.code.sf.net/p/gprolog/code gprolog-code BTW: if you write on the socket, you may to call flush_output(SO) to be sure the data is sent (and thus accessible on the other side). Le 22 nov. 2013 à 23:43, Sean Charles <address@hidden> a écrit :
-- Ce message a été vérifié par MailScanner pour des virus ou des polluriels et rien de suspect n'a été trouvé. |
[Prev in Thread] | Current Thread | [Next in Thread] |