You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using both Haskeline and monad-logger and tryin to make my stderr logging play nice with line input, as right now log messages clobber my prompt. Unfortunately, monad-logger deals with ByteString and the function returned by getExternalPrint only accepts String. Having monad-logger first build a ByteString each time, and then having to decode + unpack before being able to print is rather inconvenient. Would it be possible to add/extend Haskeline with a way to dump out ByteString directly?
Since Haskeline already has a dependency on ByteString this doesn't seem like it'd expand the dependency footprint any.
The text was updated successfully, but these errors were encountered:
I'm using both Haskeline and monad-logger and tryin to make my stderr logging play nice with line input, as right now log messages clobber my prompt. Unfortunately, monad-logger deals with
ByteString
and the function returned bygetExternalPrint
only accepts String. Having monad-logger first build a ByteString each time, and then having to decode + unpack before being able to print is rather inconvenient. Would it be possible to add/extend Haskeline with a way to dump out ByteString directly?Since Haskeline already has a dependency on ByteString this doesn't seem like it'd expand the dependency footprint any.
The text was updated successfully, but these errors were encountered: