formula_to_type: Construct R Types from Formula Notation

Description Usage Arguments Details

View source: R/formula_to_type.R

Description

This function makes it possible to write R type expressions concisely using a formula-based language.

Usage

1

Arguments

x

(formula) The formula to convert to a type expression.

Details

Literal types have the same names and capitalization as their S4 classes, but with typesys:: excluded. So typesys::RInteger is just written as RInteger. Type variables must be written in lower case.


nick-ulle/typesys documentation built on Jan. 21, 2020, 5:13 p.m.