[−][src]Macro zamm_yin::initialize_type
Add the given Concept type to the KB.
Examples
Note: do not actually run this on existing types, since they are automatically added when the KB is initialized.
use zamm_yin::initialize_type; use zamm_yin::tao::archetype::{Archetype, ArchetypeTrait}; use zamm_yin::tao::relation::attribute::Inherits; use zamm_yin::tao::Tao; // import your own types instead use zamm_yin::graph::{Graph, InjectionGraph}; let mut ig = InjectionGraph::new(); initialize_type!(ig, (Archetype, Tao));