[cells-devel] Re: Cells: How to later set a formula for a cell ?
Frank Goenninger
fgoenninger at prion.de
Mon Apr 3 20:36:49 UTC 2006
-----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
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.5 (Build 5050)
iQIVAwUBRDGHZmAKVUddnkqnAQo7/w/9HuR0L0u/k6eycdzvosaQ+FGIIky8GTFn
Hm9rg/dHctEPV6b4/7JWvIolyQd+g2AzRwjEYZyN5ZC3kq9sASTQWYsFL3aoCEZS
pvlcqEeikSu6Rh5GRz3mxl0HpgcJuCqYcYLA5H5vUxaOVNR2XSCpezxjQPA0WxWa
/WZbKlmoCLCXhc/DP5ZNVju9zkWD0MH3HyUrFpknninKNJuURN+fWQ+CHwJu1lTd
uJRstVlH9gcNpLvEFx8tFSIrVN0i3d9CO0+UKb+J4+HexUoM7HyMbZn/ZPY/2X0D
ABbiuNu+hmYVgCwh/lL0KWIwO5ocdFRQM8EfiDCe5Shsq6NkQYaj1Qy03hR1hx5h
Xy87/BmeElTgBN5iRQKIxAJG+8Y+h0fci2Csg9IKYpwlpGFTU6iyGH3fWq6wTMrv
xTYFtYQNa+d2A0B6rCvwdUJIYVw3JeVkNd8ldCNGRye5z23XhuvyhxlqbJ3iLnva
RTFvrg3X4oUZlEIB4ZXNzsT9jzVu9dRRE7UdPcCvxjHGaIJrQ+SoauYg4CPtDa8Z
0zJCjhbsx6c5tNlhzUaaDub3qE5Xg65TZ1nKQJOk9qGklBmg9jt+skDUfFm5Ask6
TZQi8LgnFQQlCTU5I1heISohp83OmkBUYXR4hDPpjT1dc/O2UuJFEs0Eq1JYnqJo
pzUwdGIAp54=
=AKYa
-----END PGP SIGNATURE-----
More information about the cells-devel
mailing list