10 May
2026
10 May
'26
12:05 a.m.
On Sat, May 02, 2026 at 12:02:34PM +0100, Tom Ellis wrote:
So my guess is you can't achieve what you want with conduit. Instead you could try to reuse some conduit pieces in the context of a safe setup, such as Bluefin.
A simpler challenge for conduit is whether there can be a conduit that yields the first n lines of each file it is given as input. I've asked that on Discourse. Let's see if it can be done.
It looks like what you want can be done with conduit, at the cost of using a non-compositional (CPS) style: https://github.com/snoyberg/conduit/issues/532#issuecomment-4412941508 This would probably be sufficient for your needs in this case. Tom