forked from GitHub/gf-core
a skeletal module for higher-order pattern unification in the C runtime
This commit is contained in:
10
src/runtime/c/pgf/hopu.c
Normal file
10
src/runtime/c/pgf/hopu.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "data.h"
|
||||
#include "evaluator.h"
|
||||
#include "hopu.h"
|
||||
|
||||
void pgf_pattern_unify(PgfEvalState* state, PgfClosure* c1, PgfClosure* c2)
|
||||
{
|
||||
c1 = state->eval_gates->enter(state, c1);
|
||||
c2 = state->eval_gates->enter(state, c2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user