file: job.t package: muf status: alpha
The |errorIfEphemeral
function accepts a
block and issues an error message if the first
two values in the block are :ephemeral
followed by a non-nil
value.
This is a little hack used by the constructor functions for structures and such: Allocating an ephemeral function in an in-db constructor function is useless because it gets popped when the constructor function returns.
The solution is to call the C-coded
]makeStructure
primitive directly.
the |errorIfEphemeral
function
is used by automatically generated constructor
functions to diagnose this problem and remind
the user of the solution.
Go to the first, previous, next, last section, table of contents.