fstpackage / lazyvec

Lazy evaluated vectors using the ALTREP framework
GNU Affero General Public License v3.0
16 stars 0 forks source link

Method lazyvec_skeleton() generates a full sample implementation #8

Open MarcusKlik opened 5 years ago

MarcusKlik commented 5 years ago

To create a custom ALTREP vector, method lazyvec() needs overrides for methods from the ALTREP API. For the average user, it will take some time to study this API to get a custom vector operational. To facilitate this, sample implementations can be created using lazyvec_skeleton(). Samples for each type should be available. The user can tailor the generated code to create a custom ALTREP vector:

MarcusKlik commented 5 years ago

These samples will be explained in vignettes and on the website.