[cells-devel] functional programming

Frank Goenninger frgo at me.com
Sun Mar 18 18:51:22 UTC 2012


Hi -

Am 18.03.2012 um 19:20 schrieb Dan Lentz:

> I'm an extreme newbie to cells and have just begun reviewing the
> literature so this may be a FAQ, but in general how does cells relate
> to "functional" programming practice?  My first reaction is that is
> seems antithetical, as it inherently introduces state and eliminates
> referential transparency. However if one looks at it as a declarative
> approach in making statements about relations, perhaps not. maybe it
> can therefore be used in a functional style along the same lines as
> standard clos/mop, which can also be considered stateful if evaluated
> at the level of the individual sub protocols etc.
> 
> Really my question is "is cells something one should consider if
> otherwise one has worked hard to achieve functional style practices?"

I don't know. I am answering questions like this for myself like: If it fits your needs then use it. If it doesn't, well, then don't use it. I, personally, didn't find anything non-functional in Cells the way I use it.

Cheers
   Frank






More information about the cells-devel mailing list