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 recently found use for a version of the anyWord8 function defined over Zepto, which I implemented as:
importqualifiedData.ByteString.UnsafeasBSUanyWord8::Monadm=>ZeptoTmWord8
anyWord8 =do
b <-Zepto.take1pure (BSU.unsafeHead b)
Since this requires using Data.ByteString.Unsafe, it would be nice to define this in attoparsec itself rather than in my downstream library (which would otherwise not need to make use of unsafe ByteString functions).
The text was updated successfully, but these errors were encountered:
I recently found use for a version of the
anyWord8
function defined overZepto
, which I implemented as:Since this requires using
Data.ByteString.Unsafe
, it would be nice to define this inattoparsec
itself rather than in my downstream library (which would otherwise not need to make use of unsafeByteString
functions).The text was updated successfully, but these errors were encountered: