Expand description
Quotation operations for Seq
Quotations are deferred code blocks (first-class functions). A quotation is represented as a function pointer stored as usize.
Re-exports§
pub use patch_seq_call as call;pub use patch_seq_push_quotation as push_quotation;pub use patch_seq_spawn as spawn;
Functions§
- patch_
seq_ ⚠call - Call a quotation or closure
- patch_
seq_ ⚠peek_ is_ quotation - Check if the top of stack is a quotation (not a closure)
- patch_
seq_ ⚠peek_ quotation_ fn_ ptr - Get the impl_ function pointer from a quotation on top of stack
- patch_
seq_ ⚠push_ quotation - Push a quotation onto the stack with both wrapper and impl pointers
- patch_
seq_ ⚠spawn - Spawn a quotation or closure as a new strand (green thread)