pub enum Topic {
Show 23 variants
Form,
Lisp,
Number,
Text,
List,
Map,
Function,
Predicate,
Error,
Json,
Nix,
Xml,
File,
Process,
Environment,
Clock,
Network,
Crypto,
Lazy,
Concurrency,
Actor,
Output,
Dispatch,
}Expand description
What a name is for, so a reference can group it.
Variants§
Form
Evaluation forms: conditionals, bindings, quoting.
Lisp
tatara-lisp forms whose arguments are Lisp shapes; usable from blue only where the shape is plain values.
Number
Text
List
Map
Function
Functions that take or return functions.
Predicate
Questions about a value’s kind or sign.
Error
Json
Nix
Xml
File
Process
Environment
Clock
Network
NATS and HTTP over TCP.
Crypto
Lazy
Delayed values.
Concurrency
tatara-lisp’s channels and fibers.
Actor
blue’s own processes: spawn, mailboxes, links, supervision.
Output
Printing to the terminal.
Dispatch
The master verbs, dispatched on the subject’s space.
Implementations§
Source§impl Topic
impl Topic
Sourcepub fn effect(self) -> Option<Effect>
pub fn effect(self) -> Option<Effect>
What calling a name of this topic may do besides compute its answer
from its arguments; None when that is all it does. Exhaustive, so a
new topic decides here. The call memo (blue-lang-mondou’s reach)
answers a call from its cache only when nothing the definition reaches
has an effect.
Trait Implementations§
impl Copy for Topic
impl Eq for Topic
Source§impl Ord for Topic
impl Ord for Topic
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Topic
impl PartialOrd for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnsafeUnpin for Topic
impl UnwindSafe for Topic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.