Skip to main content

Class Generation

5
  • defrecord

    (defrecord name [fields*] options* specs*) Currently there are no options. Each spec consists of a protocol or interf...

  • deftype

    (deftype name [fields*] options* specs*) Currently there are no options. Each spec consists of a protocol or interfac...

  • extend-protocol

    Useful when you want to provide several implementations of the same protocol all at once. Takes a single protocol and th...

  • extend-type

    Extend a type to a series of protocols. Useful when you are supplying the definitions explicitly inline. Propagates the ...

  • reify

    reify creates an object implementing a protocol. reify is a macro with the following structure: (reify options* specs*...