SWI-Prolog offers a comprehensive and portable free-software Prolog programming environment for more than 25 years now. It is widely used in research and education as well as for commercial applications. This is the official reference manual for the latest version of SWI-Prolog. SWI-Prolog aims to be a robust and scalable implementation with fair compatibility to the ISO Prolog standard. Version 7 extends the core language with strings, dicts and functional notation. These extensions optimize data interoperability with other IT systems and help bridging the gap to other programming languages. SWI-Prolog ships with a wide range of interface libraries, providing interfaces to other languages such as C and Java, databases, graphics and networking. It provides extensive support for managing HTML/SGML/XML and RDF documents. The system is particularly suited for server applications due to robust support for multi threading and HTTP server libraries. The SWI-Prolog development environment includes extensive editor support, graphical source-level debugger, autoloading and make facility. The SWI-Prolog editor and the PDT plugin for Eclipse provide alternative environments. This comprehensive manual gives an overview of the system and how to set-up programming projects with it, it describes the built-in predicates, module system, coroutining, threads, the Constraint Handling Rules library, the foreign language interface and how to generate runtime applications.length(Vs, 3), Vs ins 0..3, serialized(Vs, [1, 2, 3]), label(Vs). Vs = [0, 1, 3] ; Vs = [2, 0, 3] ; false. element(?N, +Vs, ?V) The N-th element of the list of finite domain variables Vs is V. Analogous to nth1/3. globalcardinality(+Vs, +Pairs) Globalanbsp;...
|Title||:||SWI Prolog Reference Manual 7.1|
|Author||:||Jan Wielemaker, Leslie De Koninck, Thom Fruehwirth, Markus Triska, Marcus Uneson|
|Publisher||:||BoD – Books on Demand - 2014-06-20|