Hi all,

I made two changes to ui.operations after Ben pointed out some issues.
I put these in the master branch, since new_ui is still not ready to
be merged, and existing projects can take advantage of these fixes
before they port to new_ui (there were some API changes).

The first change is that define-operation prevents duplicate
operations from being added. Here, duplicate means that both the
predicate and command word are equal; it is perfectly valid to have
two operations with the same command word but different predicates.

The second change is that the operations global variable is
initialized automatically. There's no need to do V{ } clone operations
set-global first (and in fact that won't work; its a linked assoc now,
not a vector).

Slava

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to