Gah! I need an apropos that corrects my spelling!

Thanks,

Phil

Eduardo Cavazos wrote:
> On Wednesday 23 July 2008 14:39:24 Phil Dawes wrote:
> 
>> It returns indexes to all occurrences of obj in seq. Have I missed this
>> implemented somewhere else, or shall I add it to sequences?
> 
> Hi Phil,
> 
> There's an 'indices' in 'sequences.lib':
> 
> : indices ( seq obj -- seq )
>   >r dup length swap r>
>   [ = [ ] [ drop f ] if ] curry
>   2map
>   sift ;
> 
> Ed
> 
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to