That documentation is outdated. That's how it used to work. Slava should fix that. (Slava, I can't really update the repos myself now, as I don't have a git server. I'll try to get one soon.)
Now, if you do something like TUPLE: foo bar baz ; to create a constructor <foo>, you have to enter the line C: <foo> foo . This is the most common case, so it used to be automatic, but it causes several subtle problems. Now, a new flexible approach is used, which Slava described in his blog here: http://factor-language.blogspot.com/2007/08/re-definitions-tuples-and-constructors.html Thanks for taking interest in Factor! The mailing list archives can be found at the Sourceforge website here: http://sourceforge.net/mailarchive/forum.php?forum_name=factor-talk . But for some more active discussion, you might want to join the Factor channel at irc.freenode.net#factor. Dan Ehrenberg On 9/26/07, Phil Dawes <[EMAIL PROTECTED]> wrote: > Hi factor-talk, > > I'm new to factor so I might be missing something, but the documentation > to TUPLE: says: > > Word description > Defines a new tuple class with membership predicate name? and > constructor <name>. > > However the constructor doesn't appear to get created as far as I can > see. > > Also, while I'm here, is there any way to download a copy of the email > archives for factor-talk? > > Cheers, > > Phil > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
