Programming Language Theory Flashcard
What is the class pattern?
Books
Decklanguage theory
Question
What is the class pattern?
Answer
Simple class pattern:
racket
(define (cls args)
(lambda (m)
(case (m)
[]
[])))What is the class pattern with private members?
What is the class pattern with both private members and static members?