Re: [pollen] Composing select functions is awkward

2017-03-09 Thread Matthew Butterick

> On Mar 9, 2017, at 1:17 PM, Shrutarshi Basu  wrote:

> It would be great to have some functions that allow us to easily select 
> txexprs from within txexprs.


Have you investigated `findf-txexpr` and `findf*-txexpr` in the `txexpr` module?

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[pollen] Composing select functions is awkward

2017-03-09 Thread Shrutarshi Basu
Hi all,
Here is a simple workflow I'm trying to implement: (1) get a tag's contents
using `select-from-doc` and then (2) get all instances of a particular tag
from the contents returned by (1) using `select*`. However, this doesn't
work because `select-from-doc` returns a list of X-expressions, while
`select*` requires a txexpr. It would be great to have some functions that
allow us to easily select txexprs from within txexprs.

Thanks,
Basu

-- 
Shrutarshi Basu
Basus.me
The ByteBaker  -- computer science is not about
computers
@basus 

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.