Paste: my 'contains?'

Author: randy7
Mode: factor
Date: Thu, 2 Apr 2009 17:58:10
Plain Text |
: contains? ( longstr str -- ? ) 
    [ length <sliced-clumps> ] keep swap member? ;

Annotation: better

Author: randy7
Mode: factor
Date: Thu, 2 Apr 2009 18:06:43
Plain Text |
tuck length <clumps> member?

Annotation: question

Author: randy
Mode: factor
Date: Thu, 2 Apr 2009 18:14:30
Plain Text |
hmmm.. I wanted a lazy list of clumps until the first match.
what can I use to get it?

clumps with larger length affect memory which affects performance. but sliced-clumps doesn't work.

Annotation: silly me

Author: rand
Mode: factor
Date: Sun, 5 Apr 2009 14:53:27
Plain Text |
Ofcourse, use find. not clumps.

New Annotation

Summary:
Author:
Mode:
Body: