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 suspect this might be deliberate as the samples are instructive, and in the above example not using Char would be much less clear, but nonetheless this could be a source of confusion for newbies. Surely all the documentation code should compile? I'll happily open a PR to integrate doctest for this?
The text was updated successfully, but these errors were encountered:
For example:
Data.ByteString.split
has the type:Word8 -> ByteString -> [ByteString]
, yet the code examples suggest it takes aChar
.I suspect this might be deliberate as the samples are instructive, and in the above example not using
Char
would be much less clear, but nonetheless this could be a source of confusion for newbies. Surely all the documentation code should compile? I'll happily open a PR to integratedoctest
for this?The text was updated successfully, but these errors were encountered: