[Fluxus] the end of push/pop?

Dave Griffiths dave at pawfal.org
Wed Oct 31 04:33:26 PDT 2007


> nik gaffney <nik at fo.am> writes:
>
>>> I've added a new and fairly untested set of higher level control
>>> structures for manipulating objects and state in a cleaner and safer
>>> manner. The first two make push/pop, grab/ungrab obsolete as suggested
>>> some time ago. The second two are analogous to map and fold for lists
>>> (but not exactly the same), and should make pdata modifications and
>>> calculations simpler and a bit more expressive.
>>
>> . ..now there is no turning back!
>
> Hi Dave these are something really good i think, state changes are much
> more readable now and meaningfull as the parenthesis are what push/pop
> were meaning back
> then and the pdata stuff is also more lisp compliant :), gonna update
> docs for the portuguese translation :D.

I'm glad this meets with approval - it took me a while to 'get it', and
learn macros... :)

So now we don't really need pdata-set! pdata-ref or pdata-size either - or
rather, they can be hidden under these functions and don't need to be
taught to newbies. A rewrite of the examples is in order.

cheers,

dave




More information about the Fluxus mailing list