Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
(ann-protocol SelfProtocol
              f1 [SelfProtocol -> (U nil SelfProtocol)])
(defprotocol> SelfProtocol
  (f1 [this]))

This is a protocol call called SelfProtocol that defines a method f1, annotated as [Self protocol SelfProtocol -> (U nil SelfProtocol)].

...