Gabriella439 / foldl

Composable, streaming, and efficient left folds
BSD 3-Clause "New" or "Revised" License
160 stars 51 forks source link

Unexporting RealWorld? #162

Open mgajda opened 3 years ago

mgajda commented 3 years ago

I do not understand why RealWorld should be exported by this library. If it should, that is very concerning, and it should be documented.

Gabriella439 commented 3 years ago

@mgajda: foldl is only exporting the RealWorld type, which is safe

mgajda commented 3 years ago

@Gabriel439 But why do we ever need it? The documented interface is IO monad, not RealWorld type.

Gabriella439 commented 3 years ago

@mgajda: We probably don't need it, but I'd like to avoid an unnecessary breaking change unless we have another breaking change pending