summaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 01:58:24 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 01:58:24 +0000
commit2c3e688c3f779f0abfaad887f13ab2b70c9f814a (patch)
tree0ca93ea97a38864991eeb0097afd1f989e1939b2 /fns.h
parentd5ce41f05bc322fa2fb4d0eee66080b3b3004853 (diff)
Add backtracking to the evaluator. This means we have to keep track of choicepoints which is implemented the easy but wasteful way for now.
I have also added a number which is used to differentiate variables from different application of the clauses.
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fns.h b/fns.h
index 70a1d96..92794bf 100644
--- a/fns.h
+++ b/fns.h
@@ -5,7 +5,7 @@ Term *parse(int);
Rune *prettyprint(Term *);
/* misc.c */
-Term *copyterm(Term *);
+Term *copyterm(Term *, uvlong *);
Term *appendterm(Term *, Term *);
int termslength(Term *);
Term *mkatom(Rune *);