preproc {rolog}R Documentation

Default hook for preprocessing

Description

Default hook for preprocessing

Usage

preproc(query = quote(1 <= sin))

Arguments

query

the R call representing the Prolog query.

Value

The default hook translates the inequality and smaller-than-or-equal-to from R (!=, <=) to Prolog (\=, =<). Moreover, primitive functions are converted to regular functions.

See Also

[rolog_options()] for fine-grained control over the translation


[Package rolog version 0.9.17 Index]