コード例 #1
0
ファイル: _reason.go プロジェクト: herokai/escher
func (Reason) Materialize() think.Reflex {
	reflex, eye := faculty.NewEye("Belief", "Observation", "Theory") // Create to (yet unattached) memory endpoints.
	go func() {
		f := &reason{} // Create the object that will handle the cognition of the reason reflex
		f.x = eye.Focus(f.ShortCognize)
	}()
	return reflex
}
コード例 #2
0
ファイル: _r.go プロジェクト: JoshOldenburg-graveyard/escher
func (Reason) Materialize() think.Reflex {
	reflex, m := faculty.NewEye("Belief", "Observation", "Theory") // Create to (yet unattached) memory endpoints.
	SpawnReason(m)
	return reflex
}