Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiban committed Feb 15, 2022
1 parent 9ec1832 commit 2df0d41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ for sols.Next() {
| | `nonvar(Term)` | * | Succeeds if `Term` is not a variable. | Prolog |
| | `number(Term)` | * | Succeeds if either `integer(Term)` or `float(Term)`. | Prolog |
| | `callable(Term)` | * | Succeeds if either `atom(Term)` or `compound(Term)`. | Prolog |
| | `ground(Term)` | * | Succeeds if `Term` is a ground term. | Prolog |
| Term Processing | `functor(Term, Name, Arity)` | * | Succeeds if `Term` has a name `Name` and arity `Arity`. | [Go](https://pkg.go.dev/github.com/ichiban/prolog/engine#Functor) |
| | `arg(Arg, Term, Value)` | * | Succeeds if the `Arg`-th argument of `Term` unifies with `Value`. | [Go](https://pkg.go.dev/github.com/ichiban/prolog/engine#Arg) |
| | `Term =.. List` | * | Succeeds if `List` is a list of the functor and arguments of `Term`. | [Go](https://pkg.go.dev/github.com/ichiban/prolog/engine#Univ) |
| | `copy_term(In, Out)` | * | Creates a copy of `In` and unifies it with `Out`. | [Go](https://pkg.go.dev/github.com/ichiban/prolog/engine#CopyTerm) |
| | `term_variables(Term, Vars)` | * | Succeeds if `Vars` unifies with a list of variables in `Term`. | Go |
| | `compare(Order, Term1, Term2)` | * | Compares `Term` and `Term2` and unifies `Order` with either `<`, `=`, or `>`. | [Go](https://pkg.go.dev/github.com/ichiban/prolog/engine#Compare) |
| | `Term1 @=< Term2` | * | Either `Term1 == Term2` or `Term1 @< Term2`. | Prolog |
| | `Term1 == Term2` | * | Equivalent to `compare(=, Term1, Term2)`. | Prolog |
Expand Down

0 comments on commit 2df0d41

Please sign in to comment.