snoyberg/conduit — comment on commit a7583d3e5d1958c10c3630180f208773c068c44d
File: Data/Conduit.hs line 143
By meteficha:

I still find some of this pumbling code confusing (although not as much as enumerator's). Why do we give back to the conduit its leftovers? It does make sense, but doing "conduitClose c []" also makes sense since we don't need its output anymore and "cleftover" may have more data than "cleftover'". I don't have an intuition of each one is the right one.