[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] v3, with support for narrowing
From: |
Nick Dokos |
Subject: |
Re: [O] v3, with support for narrowing |
Date: |
Fri, 29 Apr 2011 10:56:51 -0400 |
Eric Abrahamsen <address@hidden> wrote:
> > The mapping API allows you to walk through the entries, filter the ones
> > you want and apply a function on each remaining entry. So cribbing heavily
> > from Simon's code, the following should count all the entries with tag
> > "foo":
>
> Nice! Seems like the mapping API could be used as the basis for this
> whole functionality.
>
Indeed: it would require a bit of refactoring of Simon's code to provide the
function(s) to apply to each entry, and changes to the top level functions to
use the mapping API instead of looping explicitly.
Nick
- [O] Implemented word count for subtrees, Simon Guest, 2011/04/23
- Re: [O] Implemented word count for subtrees, Eric S Fraga, 2011/04/27
- Re: [O] Implemented word count for subtrees, Simon Guest, 2011/04/27
- Re: [O] Implemented word count for subtrees, Eric S Fraga, 2011/04/28
- [O] Sub-tree word count v2, Simon Guest, 2011/04/28
- Re: [O] Sub-tree word count v2, Samuel Wales, 2011/04/28
- [O] v3, with support for narrowing, Simon Guest, 2011/04/28
- Re: [O] v3, with support for narrowing, Eric Abrahamsen, 2011/04/28
- Re: [O] v3, with support for narrowing, Nick Dokos, 2011/04/28
- Re: [O] v3, with support for narrowing, Eric Abrahamsen, 2011/04/29
- Re: [O] v3, with support for narrowing,
Nick Dokos <=
- Re: [O] v3, with support for narrowing, Simon Guest, 2011/04/29
- Re: [O] Sub-tree word count v2, Eric S Fraga, 2011/04/28
Re: [O] Implemented word count for subtrees, Sébastien Vauban, 2011/04/28