import "github.com/guregu/predicates"
Native predicates for ichiban/prolog.
Prolog
Filesystem predicates use io/fs.FS.
Built-in replacements
consult/1
library(files)
These predicates are intended to be compatible with Scryer Prolog's library(files).
These use strings (lists of characters) for filenames.
directory_files/2directory_exists/1file_exists/1
Lists
is_list/1atomic_list_concat/3
Atoms
downcase_atom/2upcase_atom/2
Package taujson
These predicates are intended to be compatible with Tau Prolog's library(js).
They are peculiar predicates that use opaque native objects for JSON conversion.
json_atom/2json_prolog/2
Graduated
between/3made it into ichiban/prolog inv0.9.0!
Go
Package chars provides some convenience functions for working with Prolog strings.
License
BSD 2-clause. Includes code from ichiban/prolog (MIT license). See LICENSE.