WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 46645513

(no title)

bw86 | 1 month ago

findall instead of bagof can also help for these cases.

    | ?- findall(A, (tree(A, N), branch(N)), As).

    As = [n,n1]

    yes
See https://lpn.swi-prolog.org/lpnpage.php?pagetype=html&pageid=...

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com