Copyright | (c) 2017 Cristian Adrián Ontivero |
---|---|
License | BSD3 |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- removeQuotes :: StringType -> Either Text StringType
- unquoteUrl :: StringType -> Either Text StringType
- unquoteFontFamily :: StringType -> Either Text StringType
- convertEscaped :: Parser Text
- mapString :: (Text -> Reader Config Text) -> StringType -> Reader Config StringType
- data StringType
Documentation
unquoteUrl :: StringType -> Either Text StringType Source #
convertEscaped :: Parser Text Source #
Parse and convert any escaped unicode to its underlying Char.
data StringType Source #
The <string> data type. It represents a string, formed by Unicode characters, delimited by either double (") or single (') quotes.
Instances
Eq StringType Source # | |
Defined in Hasmin.Types.String (==) :: StringType -> StringType -> Bool # (/=) :: StringType -> StringType -> Bool # | |
Show StringType Source # | |
Defined in Hasmin.Types.String showsPrec :: Int -> StringType -> ShowS # show :: StringType -> String # showList :: [StringType] -> ShowS # | |
ToText StringType Source # | |
Defined in Hasmin.Types.String toText :: StringType -> Text Source # toBuilder :: StringType -> Builder Source # | |
Minifiable StringType Source # | |
Defined in Hasmin.Types.String minify :: StringType -> Reader Config StringType Source # |