Skip to content

aegwenia/jik/objects-prototypes

Frontier Unlock 375 Ideal 390 CC0 1.0

Objects and prototype ancestry

Create named objects with fields and parents; inherited lookup follows explicit prototype ancestry.

Acquire to open

Theory, examples, assessment, and private test answers stay inside the acquired repository copy.

Log in to acquire

Public source

Released under CC0 by the five-year publication rule.

(begin
  (define base (object .base [] {.answer 42}))
  (define child (object .child [base] {}))
  (object-ref child .answer))