tiny.mprompt.operation
Defined in effect.
Returns the signature of one operation with argument type Arg and result type Result, so a caller writes one per field of an EffectDefinition spec's .operations.
Source
Source: lib/mprompt/src/effect.zig:195
zig
/// Returns the signature of one operation with argument type `Arg` and result type `Result`, so a/// caller writes one per field of an `EffectDefinition` spec's `.operations`.pub fn operation(comptime Arg: type, comptime Result: type) OperationSignature { return .{ .Arg = Arg, .Result = Result };}Source: lib/mprompt/src/root.zig:68
zig
pub const operation = effect.operation;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |