Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Whitespace skipping quoter, internal
Documentation
Wrapping a quote type with this causes whitespace to be ignored.
Since: 1.0.0.0
SkipWs a |
Instances
IsString a => IsString (SkipWs a) Source # | |
Defined in Exon.SkipWs fromString :: String -> SkipWs a # | |
Generic (SkipWs a) Source # | |
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 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