Did you know ... | Search Documentation: |
Profile for user dave |
Sec. 5.4 | if you need to use hashes you can use Dicts, but for small number of kv-pairs i ... |
new_array/1 | Another way to create Arrays is to use arg/setarg .. for more check those tutori ... |
Sec. A.24 | Here is zip predicate : pair(X,Y,[X,Y]). zip(L1,L2,Z) :- maplist(pair,L1,L2,Z). ... |
writeln/2 | I use : say(Lst) :- is_list(Lst), writeln(Lst). say(S) :- say(S,[]). say(S,P) :- string_concat(S, '~n', S1), format(S1,P). ?- say('hello'). hello true. ?- say('hello ~w',[world]). hello world true. ?- say('hello ~w ~w',[new,world]). hello new world true. [Easier print](https://myriad.website/easier-print-in-prolog/) |
Pack
tot: 1
| Version
(#older)
| Downloads
tot: 146
(#latest) | Rating
(#votes/
#comments) | Title |
---|---|---|---|---|
scasp | 1.1.430 | 14612 | Goal directed ASP solver |