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
Because of how GHC works, bytesmith always boxes the result of parse. This is normally fine. The result of a parse is typically some kind of boxed data that can live happily on the heap. However, in several different projects, I've ended up needed to define
It's sad to have to allocate for the W# data constructor. I've been avoiding adding Char8/Ascii/Latin module to this library, but I think that Data.Bytes.Latin would be a good place for these:
Because of how GHC works,
bytesmith
always boxes the result of parse. This is normally fine. The result of a parse is typically some kind of boxed data that can live happily on the heap. However, in several different projects, I've ended up needed to defineIt's sad to have to allocate for the
W#
data constructor. I've been avoiding addingChar8
/Ascii
/Latin
module to this library, but I think thatData.Bytes.Latin
would be a good place for these:The second variant allows extra bytes to be leftover. The first does not.
The text was updated successfully, but these errors were encountered: