Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides the Src
type used for source spans in error messages
Type
Source code extract
Instances
Eq Src Source # | |
Data Src Source # | |
Defined in Dhall.Src gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Src -> c Src # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Src # dataTypeOf :: Src -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Src) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Src) # gmapT :: (forall b. Data b => b -> b) -> Src -> Src # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Src -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Src -> r # gmapQ :: (forall d. Data d => d -> u) -> Src -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Src -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Src -> m Src # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Src -> m Src # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Src -> m Src # | |
Ord Src Source # | |
Show Src Source # | |
Generic Src Source # | |
Lift Src Source # | |
NFData Src Source # | |
Pretty Src Source # | |
type Rep Src Source # | |
Defined in Dhall.Src type Rep Src = D1 (MetaData "Src" "Dhall.Src" "dhall-1.32.0-90ekLWlfiRUK7vmmlOVhVv" False) (C1 (MetaCons "Src" PrefixI True) (S1 (MetaSel (Just "srcStart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SourcePos) :*: (S1 (MetaSel (Just "srcEnd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SourcePos) :*: S1 (MetaSel (Just "srcText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) |