Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorials:intermediate:json_prolog [2019/04/24 11:41] – [Importing a package with queries] gkazhoya | tutorials:intermediate:json_prolog [2019/04/24 11:46] – gkazhoya | ||
---|---|---|---|
Line 176: | Line 176: | ||
</ | </ | ||
- | In JSON Prolog '' | + | In JSON Prolog '' |
| | ||
This allows us to use the '' | This allows us to use the '' | ||
Line 207: | Line 207: | ||
and if you check your terminal, in which the '' | and if you check your terminal, in which the '' | ||
| | ||
- | | + | |
- | ==== Some more information about Prolog | + | ==== Case-sensitive variable names ==== |
+ | |||
+ | In the former query we got a weird result from Prolog | ||
+ | |||
+ | |||
+ | ==== (NIL) vs NIL ==== | ||
| | ||
If we want to check, if a certain number is member of the list, we must declare the variable accordingly. e.g. | If we want to check, if a certain number is member of the list, we must declare the variable accordingly. e.g. |