Hello, I am new to factor and want to use it to develop CAD tools. I have developed CAD tools for years in other languages such as "C" and scheme. So, my questions may be a result of working in these languages and may not apply to Factor. I will have a lot of instances of tuples with slots containing, what I would call, references to instances of other tuples. Does Factor have a similar concept of a reference (I.E. pointer)? That is, if I have an instance of a tuple on the stack and I place it into the slot of another tuple will a copy be placed? I noticed the refs vocabulary, is that something I should be using? That is, store a ref to an instance of a tuple? Also, I want to define these slots such that only references to the correct tuple can be placed in them. I saw that I could make a predicate class which checks the class type and use the predicate class as the type of these slots. Is this the best way?
Any help would be greatly appreciated. Mike Moretti ------------------------------------------------------------------------------ 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
