make_pattern_match: Translate a pattern into a predicate that checks the pattern.

Description Usage Arguments Value

View source: R/evaluate.R

Description

Takes a pattern from the DSL and make a comparison of the pattern specification against range variables.

Usage

1
make_pattern_match(pattern, range_vars)

Arguments

pattern

An expression on the form table[index-list]

range_vars

A list of the variables used in the ranges.

Value

An expression that tests pattern against range_vars.


dynprog documentation built on Dec. 9, 2019, 5:10 p.m.