This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
zengin/prolog-predicates
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
countelm predicate counts the number of occurences of each element in a list. Example: ?- countelm([a,b,d,s,a,d,s,a,d,d,d,a,s,d,s,a,a,d,b,s], O). O = [[a, 6], [b, 2], [d, 7], [s, 5]] ?- countelm([], O). O = []. family_relations.pl has simply definitions of family relations in the form of prolog predicates.
About
Some prolog exercises
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published