- Compatibility with rlang 0.3.0
- Removed
cases
function (usecase_func
instead, it is much faster).
- New constructor code. This gives an substantial speedup when generating objects.
- Added
case_func
as a much faster replacement for using thecases
function. - Suggests
ggraph
andtidygraph
for vignettes - Pattern matching on multiple patterns and values using
..
notation. - Fixed a rewrite bug when using qualified names.
- Uses
foolbox
for a safer rewrite function.
- Formula syntax in cases as an alternative: cases(f(x), foo ~ bar, baz ~ qux). This is easier to get to static code checks such as lintr and through the byte compiler that can complain about "assignments" to literals.
- bind[x,y,z] <- 1:3 syntax for binding variables.
- transformation function transform_cases_function for modifying a function
instead of calling
cases
.
- Transformation rules to make pattern matching work with tail-recursion from tailr package.
- Function cases_expr generates an expression (a call object) based on pattern rules.
- Exporting test_pattern and test_pattern_ to test one pattern against a value.
- Initial release.