Home

Awesome

predicates GoDoc

import "github.com/guregu/predicates"

Native predicates for ichiban/prolog.

Prolog

Filesystem predicates use io/fs.FS.

Built-in replacements

library(files)

These predicates are intended to be compatible with Scryer Prolog's library(files). These use strings (lists of characters) for filenames.

Lists

Atoms

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.

Graduated

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.