preproc: Default hook for preprocessing

View source: R/preproc.R

preprocR 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


rolog documentation built on Jan. 14, 2026, 9:07 a.m.