Functions and types¶
defun names a function. Parameters may have name: Type annotations and
-> introduces a return type. defstruct defines named fields; defenum
defines alternatives that match handles. This example sums the fields of a
point. Option and Result are enums used throughout the library.
Next: ownership.