Hi Dan, Some generic words are recursive
GENERIC: foo M: integer foo 3 + ; \ foo word-def . Notice that foo calls itself, in case you pass a tuple delegating to an integer. This is documented BTW. Slava On 9-Jul-07, at 11:02 PM, Daniel Ehrenberg wrote: > Robbert, > > I updated extra/visitor and moved it to the new module system. It > doesn't have that problem you mentioned anymore, as long as you give > it a stack comment. (Really, there's still a bug, because you > shouldn't *need* a comment because there's no recursion, so it should > all be inferrable. But comments are good.) I also updated visitor to > have an 80% working see method, which shows how things are actually > implemented (but it does the declaration wrong, showing GENERIC: > instead of VISITOR:). extra/memoize has a see method too. It's all in > my repos at littledan.onigirihouse.com/repos > > Dan > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
