exon-0.1.0.0: lib/Exon/Data/Segment.hs
-- |Description: Internal
module Exon.Data.Segment where
-- |The parts of an interpolation quasiquote.
-- Text is split at each whitespace and interpolation splice marked by @#{@ and @}@.
data Segment a =
String String
|
Whitespace String
|
Expression a
deriving (Eq, Show)