texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] New "content" glue type


From: David Allouche
Subject: [Texmacs-dev] New "content" glue type
Date: Wed, 19 May 2004 15:29:56 +0200
User-agent: Mutt/1.5.5.1+cvs20040105i

I'm having a look at some of the changes in 1.0.3.9.

"scm_to_content" is the conversion glue that is used for "content"
arguments of most functions which previously expected a "tree" but are
not strictly tree-related, and were often used in association with
"object->tree" (now "stree->tree")

The code of "scm_to_content" implies that scheme objects whose root is a
s-exp but which contain "tree" objects are acceptable "content" values.
Is that officially supported? Is it allowed, for example, to do:

    (tm-assign p `(fold ,(tree-ref t 0) ,(tree-ref t1)))

instead of:

    (tm-assign p (tree2 'fold (tree-ref t 0) (tree-ref t 1))) ?

-- 
                                                            -- ddaa




reply via email to

[Prev in Thread] Current Thread [Next in Thread]