Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype NonEmptyText = NonEmptyText {
- unNonEmptyText :: Text
- mkNonEmptyText :: Text -> Maybe NonEmptyText
- mkNonEmptyTextUnsafe :: Text -> NonEmptyText
- parseNonEmptyText :: MonadFail m => Text -> m NonEmptyText
- nonEmptyText :: Text -> Q (TExp NonEmptyText)
- nonEmptyTextCodec :: JSONCodec NonEmptyText
- nonEmptyTextQQ :: QuasiQuoter
Documentation
newtype NonEmptyText Source #
NonEmptyText | |
|
Instances
mkNonEmptyText :: Text -> Maybe NonEmptyText Source #
mkNonEmptyTextUnsafe :: Text -> NonEmptyText Source #
parseNonEmptyText :: MonadFail m => Text -> m NonEmptyText Source #
nonEmptyText :: Text -> Q (TExp NonEmptyText) Source #
nonEmptyTextCodec :: JSONCodec NonEmptyText Source #
nonEmptyTextQQ :: QuasiQuoter Source #
Construct NonEmptyText
literals at compile-time via quasiquotation.