{"id":15196579,"url":"https://github.com/guregu/predicates","last_synced_at":"2025-10-06T00:12:06.451Z","repository":{"id":42194906,"uuid":"469871736","full_name":"guregu/predicates","owner":"guregu","description":"various predicates for ichiban/prolog","archived":false,"fork":false,"pushed_at":"2022-09-25T08:40:57.000Z","size":98,"stargazers_count":15,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T15:11:22.992Z","etag":null,"topics":["dynamodb","go","prolog"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guregu.png","metadata":{"funding":{"github":"guregu"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-14T19:12:08.000Z","updated_at":"2024-11-24T22:43:44.000Z","dependencies_parsed_at":"2023-01-18T12:01:22.254Z","dependency_job_id":null,"html_url":"https://github.com/guregu/predicates","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/guregu/predicates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guregu%2Fpredicates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guregu%2Fpredicates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guregu%2Fpredicates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guregu%2Fpredicates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guregu","download_url":"https://codeload.github.com/guregu/predicates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guregu%2Fpredicates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278538231,"owners_count":26003342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dynamodb","go","prolog"],"created_at":"2024-09-28T00:02:08.067Z","updated_at":"2025-10-06T00:12:06.420Z","avatar_url":"https://github.com/guregu.png","language":"Go","funding_links":["https://github.com/sponsors/guregu"],"categories":["Go"],"sub_categories":[],"readme":"# predicates [![GoDoc](https://godoc.org/github.com/guregu/predicates?status.svg)](https://godoc.org/github.com/guregu/predicates)\n`import \"github.com/guregu/predicates\"`\n\nNative predicates for [ichiban/prolog](https://github.com/ichiban/prolog).\n\n## Prolog\n\nFilesystem predicates use [`io/fs.FS`](https://pkg.go.dev/io/fs). \n\n### Built-in replacements\n\n- `consult/1`\n\n### `library(files)`\n\nThese predicates are intended to be compatible with Scryer Prolog's [`library(files)`](https://github.com/mthom/scryer-prolog/blob/master/src/lib/files.pl).\nThese use strings (lists of characters) for filenames.\n\n- `directory_files/2`\n- `directory_exists/1`\n- `file_exists/1`\n\n### Lists\n\n- `is_list/1`\n- `atomic_list_concat/3`\n\n### Atoms\n\n- `downcase_atom/2`\n- `upcase_atom/2`\n\n### Package [`taujson`](https://godoc.org/github.com/guregu/predicates/taujson)\n\nThese predicates are intended to be compatible with Tau Prolog's [`library(js)`](http://tau-prolog.org/documentation#js).\nThey are peculiar predicates that use opaque native objects for JSON conversion.\n\n- `json_atom/2`\n- `json_prolog/2`\n\n### Graduated\n\n- [`between/3`](https://github.com/ichiban/prolog/releases/tag/v0.9.0) made it into ichiban/prolog in `v0.9.0`!\n\n## Go\n\nPackage [`chars`](https://godoc.org/github.com/guregu/predicates/chars) provides some convenience functions for working with Prolog strings.\n\n## License\n\nBSD 2-clause. Includes code from ichiban/prolog (MIT license).\nSee LICENSE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguregu%2Fpredicates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguregu%2Fpredicates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguregu%2Fpredicates/lists"}