tnx linas. whats wrong with using scheme_eval though?
On Sunday, January 7, 2018 at 1:07:39 AM UTC+3, linas wrote: > > > > On Sat, Jan 6, 2018 at 8:02 AM, Eyob <[email protected] <javascript:>> > wrote: > > Hi, >> >> we have this from the opencog examaples >> >> from opencog.scheme_wrapper import load_scm, scheme_eval, scheme_eval_h >> >> When to use scheme_eval_h and when to use scheme_eval? >> > > scheme_eval_h returns an atom. Always. > scheme_eval returns a string. > > I try to tell people to never-ever use scheme_eval, but they don't listen. > > There is also scheme_eval_tv which returns a truth value. Someday, we > need to merge these, since both truth values and atoms are special-cases > of the same object (a value). > > --linas > > > -- > *"The problem is not that artificial intelligence will get too smart and > take over the world," computer scientist Pedro Domingos writes, "the > problem is that it's too stupid and already has." * > -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/24ac6669-36e5-4213-9d37-dcbb57503d1d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
