Created
December 13, 2013 16:55
-
-
Save mndrix/7947389 to your computer and use it in GitHub Desktop.
SWI Prolog V7 listing a program with dicts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat dicts.pl | |
person{name: john}. | |
$ swipl -f none -s dicts.pl | |
% /tmp/dicts.pl compiled 0.00 sec, 2 clauses | |
Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 7.1.3) | |
Copyright (c) 1990-2013 University of Amsterdam, VU Amsterdam | |
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software, | |
and you are welcome to redistribute it under certain conditions. | |
Please visit http://www.swi-prolog.org for details. | |
For help, use ?- help(Topic). or ?- apropos(Word). | |
?- listing. | |
:- thread_local thread_message_hook/3. | |
:- dynamic thread_message_hook/3. | |
:- volatile thread_message_hook/3. | |
ERROR: sub_atom/5: Type error: `atom' expected, found `dict' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment