-
Latest versions of LVM and Trealla Prolog implement a `function_property/2` built-in predicate, which provides similar functionality to the de facto standard `predicate_property/2` built-in predicate,…
-
Using scryer-prolog v0.9.4-12-g6f7f979c
I get
```prolog
?- split_string("8/8/8/4p1K1/2k1P3/8/8/8 b - - 0 1", " ", "\s\t\n", Args).
error(syntax_error(missing_quote),read_term/3:0).
```
…
-
Currently:
```prolog
?- X is 1 rdiv 2.
X = 1 rdiv 2.
?- X is 1 rdiv 2, X = 1 rdiv 2.
% Ok, this implies that there is some internal state that differentiates the
% composite term 1 rd…
bakaq updated
1 month ago
-
```
[josh@Joshuas-Mac-mini:~/consulting-overwritten]% ❯ cat facts_a.pl
drink(coffee).
drink(tea).
drink(water).
food(bread).
food(cheese).
food(butter).
```
```
[josh@Joshuas-Mac-mini:~/co…
-
Hello Vangelis and Chris,
I saw the "Status -Issues" wiki page and it says that porting to XSB could be a challenge. I am still new to Prolog systems and I can't figure out compatibility issues just…
-
First: I love this project, and I hope to help in some way. :)
The default installation instructions grant access to dangerous system predicates.
Once started, the web console allows access to…
-
Probably won't be doing most of these.
- [x] `length_c/2`
- [x] `same_length_c/2`
- [ ] `member_c/2`
- [ ] `append_c/2` (maybe impossible?)
- [ ] `append_c/3` (maybe impossible?)
- [ ] `revers…
-
Continued from #2020.
Predicates such as `(
bakaq updated
9 months ago
-
Thank you very much for sharing these solutions!
One small thing I noticed: It seems that some of these programs would benefit from using `phrase_from_file/2` which is available in `library(pio)`. …
-
Note that predicates are never overridden, so the problem may be in the predicate visibility rules.
```prolog
:- module(a, [foo/1]).
foo(a).
```
```prolog
:- module(b, [foo/1]).
foo(b).
``…