[Haskell-cafe] Conduit : is it possible to write this function?
Erik de Castro Lopo
mle+hs at mega-nerd.com
Fri Aug 23 10:32:03 CEST 2013
Hi all
Using the Conduit library is it possible to write the function:
eitherSrc :: MonadResource m
=> Source m a -> Source m b -> Source m (Either a b)
which combines two sources into new output source such that data being
produced aysnchronously by the original two sources will be returned
as either a Left or Right of tne new source?
If so, how?
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Haskell-Cafe
mailing list