Hi,

I would like collect file extensions into an idx tree X, and for each file F I think this expression should do the work:

(let L (chop F) (when (index '. L) (idx 'X (pack (stem L '.)) T)))

Now I want to make this into a function with the name 'collectExt' and arguments for X and F, which should be pretty trivial, but it seems I'm having problems with the X argument. Can anybody tell me how to do it?

/Jon
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to