31 using namespace opencog;
37 throw InvalidParamException(TRACE_INFO,
38 "Expecting variabe decls and body, got size %d", oset.size());
55 init(getOutgoingSet());
63 if (LAMBDA_LINK != t)
return;
75 throw InvalidParamException(TRACE_INFO,
76 "Expecting a LambdaLink, got %s", tname.c_str());
80 if (LAMBDA_LINK != tscope)
return;
const HandleSeq & getOutgoingSet() const
void validate_vardecl(const Handle &)
std::vector< Handle > HandleSeq
a list of handles
std::shared_ptr< TruthValue > TruthValuePtr
std::shared_ptr< AttentionValue > AttentionValuePtr
ClassServer & classserver(ClassServerFactory *=ClassServer::createInstance)
LambdaLink(Type, const HandleSeq &, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
void init(const HandleSeq &)
const std::string & getTypeName(Type type)
unsigned short Type
type of Atoms, represented as short integer (16 bits)
av init(getOutgoingSet())
Handle _body
Handle of the body of the expression.