Here is a suggestion: https://github.com/k0001/pipes-network/issues/20#issuecomment-37095131
It is not convincing. Whatever the trick we use, optional/default/named params in Haskell is not nice, so it seems. I don't like the statu quo either (forcing every users from the API to provide the nbytes) but well no language is perfect. If anyone has a better idea ... Cheers, -- You received this message because you are subscribed to the Google Groups "Haskell Pipes" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
