dub: Unpacking Assignment for Lists via Pattern Matching

Provides an operator for assigning nested components of a list to names via a concise pattern matching syntax. This is especially convenient for assigning individual names to the multiple values that a function may return in the form of a list, and for extracting deeply nested list components.

Getting started

Package details

AuthorEugene Ha [aut, cre]
MaintainerEugene Ha <eha@posteo.de>
LicenseMIT + file LICENSE
URL https://github.com/egnha/dub
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the dub package in your browser

Any scripts or data that you put into this service are public.

dub documentation built on May 2, 2019, 7:55 a.m.