Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides some standard formats used for correctness across miss. In many cases git only allows specific subsets of bytestrings due to parsing ambiguity or system restrictions.
Synopsis
- data SafeString
- safeString :: MonadFail m => ByteString -> m SafeString
- getSS :: SafeString -> ByteString
- data LfFree
- lfFree :: MonadFail m => ByteString -> m LfFree
- isLfFree :: ByteString -> Bool
- getLfFree :: LfFree -> ByteString
Documentation
data SafeString Source #
Strings allowed in email addresses.
Instances
safeString :: MonadFail m => ByteString -> m SafeString Source #
Try to make a SafeString
.
getSS :: SafeString -> ByteString Source #
Get a ByteString
out of a SafeString
The restricted subset of ByteString
s that do not include a linefeed.
getLfFree :: LfFree -> ByteString Source #
Get the ByteString
out of a LfFree