Gal,

 

Thanks. I will keep the link below in mind.

 

Thanks,


Glenn

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hegedus Gál
Sent: Thursday, July 17, 2008 8:13 AM
To: factor-talk@lists.sourceforge.net
Subject: Re: [Factor-talk] Definition of subset

 

Hi,

 

It has been replaced by filter:
http://code-factor.blogspot.com/2008/04/word-renaming-part-2.html

I had the same problem a few months ago.

 

Gal

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Tarcea
Sent: Thursday, July 17, 2008 2:06 PM
To: factor-talk@lists.sourceforge.net
Subject: [Factor-talk] Definition of subset

 

 

Hi,

 

I've been trying to find the definition for subset. I've seen it used in
examples on the web, and in some of the factor code, but I can't find a
definition for it or a vocabulary to load that contains it (I did a 'find .
-name '*.factor' -exec grep 'subset' {} \; -print   in the factor
directory).

 

Is this a word that has been replaced by something else, and now the
references to it in vocabs under unmaintained are out of date?

 

On the web I've been going back and reading older blog postings to help with
learning factor. For example the following post uses subset:

 

The third version has a different implementation of classify which uses
extra/fry syntax sugar:

 

: push-at ( value key assoc -- )

    [ ?push ] change-at ;

 

: classify ( seq classifier -- assoc )

    H{ } clone [ '[ @ , push-at ] each ] keep 

 

: list>forest ( list -- forest )

    [ empty? not ] subset [ unclip ] classify [ list>forest ] assoc-map ;

 

Thanks,

 

Glenn

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to