purescript-deprecated/purescript-node-streams-aff

Change Readable return type signature to a Record

Closed this issue · 1 comments

I think I made a mistake designing the API for this package and I regret it.

The reading functions all return type Tuple (Array Buffer) Boolean. Instead they should return type {buffers:: Array Buffer, readagain :: Boolean}.

I don't know if it's worth a breaking change for an aesthetic mistake.

Done in #11