Documentation
¶
Overview ¶
Package packagetable owns frozen package storage. Its private backing fields make writes through the lisp kernel's read accessors a compile-time error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[V Scalar] struct { // contains filtered or unexported fields }
Map is a read-only string-keyed table. Its zero value is an empty table.
func AdoptMap ¶
AdoptMap takes ownership of values without copying. The caller must hold no other reference to values; it is for a map the caller has just built.
type Scalar ¶
Scalar excludes pointers and other mutable values: a copy of a table entry must not provide a way to modify the table's storage.
type Strings ¶
type Strings struct {
// contains filtered or unexported fields
}
Strings is a read-only list of export names in declaration order. Its zero value is an empty list.
func AdoptStrings ¶ added in v1.73.0
AdoptStrings takes ownership of values without copying. The caller must hold no other reference to the backing slice, as with AdoptMap.
func NewStrings ¶
NewStrings takes a private snapshot; the caller keeps ownership of values.