-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Am 03.04.2006 um 22:10 schrieb Ken Tilton:
Goenninger, Frank wrote:
Hi Kenny,
currently heavily playing wit Celtk...
I have up to now only set a cell's formula by using directly (c? ...) with default-initargs. Now I am stopped cold by the fact that I have to be able to set the formula by some setf form. How to do that in a conforming way ?
Download KR from the Garnet system, they have a million backdoors like that. :)
Don't get me tempted... You risk loosing a real Cells adict ;-)
What's the big picture on this? Maybe there is a way to do it without an alley-oop.
I certainly hope there is!
The big picture - and I begin wondering if phrased my original question as misleading - is that I have laaarge code fragments being complex rules for a cell formula. I want to stick that in a separate function in order to code in a more readable way ?! When trying to achieve this I figured that c? does not much but I simply found that I need the context of the cell slot to stick some rule to it.
Second use case:
Imagine I have a knowledge base (using inference) that produces cell formulae based on facts and rules I have put into the knowledge base. So, I have to be able to act on lists of structure ( cell-id formula- form ) and stick those new formula-forms into the given cells with id cell-id.
If you sell me on the need, and you can at least start the slot as c-input, I imagine there is some way to do this.
Is the above enough ?
If you do not sell me on the need, I will still give you some pointers* on how to mess up the beauty of Cells yourself.:) But I think you will still need to start with a c-input, or you will lose the dependencies (Cells does not record dependencies on slots not mediated by Cells.)
ken (going out for groceries soon)
- Look at c-install, md-awaken, c-awaken-cell, and their neighbors.
Looking, even staring at them ?!
Cheers Frank