| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Exon.SkipWs
Description
Whitespace skipping quoter, internal
Documentation
Wrapping a quote type with this causes whitespace to be ignored.
Since: 1.0.0.0
Constructors
| SkipWs a |
Instances
| IsString a => IsString (SkipWs a) Source # | |||||
Defined in Exon.SkipWs Methods fromString :: String -> SkipWs a # | |||||
| Generic (SkipWs a) Source # | |||||
Defined in Exon.SkipWs Associated Types
| |||||
| Show a => Show (SkipWs a) Source # | |||||
| Eq a => Eq (SkipWs a) Source # | |||||
| IsString builder => ExonString (SkipWs result) builder Source # | The instance used when the result type is wrapped in It returns | ||||
Defined in Exon.SkipWs Methods exonString :: String -> Result builder Source # exonWhitespace :: String -> Result builder Source # | |||||
| type Rep (SkipWs a) Source # | |||||
Defined in Exon.SkipWs | |||||
intron :: QuasiQuoter Source #
A variant of exon that ignores all literal whitespace in the quote (not in interpolated expressions).
[intron|x|] === skipWs [exonws|x|]
Since: 1.0.0.0