An introduction to R7
summary
R7 is a new object system implemented as an R7 package on GitHub that aims to merge S3 simplicity with S4 rigor and eventually become part of R. It provides new_generic and method for generics (example: a bizarro generic with numeric logical character methods where numeric expands to integer and double so printing shows four methods), new_class constructors with active properties and a validator that enforces invariants; multiple dispatch and S3 compatibility are implemented and the package is usable now.
AI-written summary · about
chapters (6)
- 0:00Start
- 9:18Creating a new class
- 13:52It's a team effort
- 14:20Tried to capture the best parts of S4
- 15:08While remaining 100% backward compatible with S3
- 16:55We've tried to dig a pit of success
related talks
18mAn introduction to R7
31mThe R7RS-Large Roadmap (Invited Talk)
22mDSLs in Racket: You Want It How, Now?
25mAn Array-Oriented Language via the Design Recipe
19mRhombus: A New Spin on Macros without All the Parentheses
56mRhombus: The Non-shrubbery Parts (Keynote)
37mStanding on the Shoulders of Giants
45mLanguage-Oriented Programming with Racket
