make_pattern_tests: Make pattern tests for all patterns.

Description Usage Arguments Value

View source: R/evaluate.R

Description

This function calls make_pattern_match() for each pattern in patterns and return a list of all the pattern test expressions.

Usage

1
make_pattern_tests(patterns, range_vars)

Arguments

patterns

A list of the patterns used in a recursion.

range_vars

The variables used in the ranges.

Value

A list of pattern check expressions.


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