| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Napkin.Spec.Yaml.Source
Documentation
newtype YamlSourceMaps #
Constructors
| YamlSourceMaps [YamlSourceMap] |
Instances
| Show YamlSourceMaps # | |
Defined in Napkin.Spec.Yaml.Source Methods showsPrec :: Int -> YamlSourceMaps -> ShowS # show :: YamlSourceMaps -> String # showList :: [YamlSourceMaps] -> ShowS # | |
data YamlSourceMap #
Instances
| Show YamlSourceMap # | |
Defined in Napkin.Spec.Yaml.Source Methods showsPrec :: Int -> YamlSourceMap -> ShowS # show :: YamlSourceMap -> String # showList :: [YamlSourceMap] -> ShowS # | |
sourceMap :: MonadIO m => [FilePath] -> m YamlSourceMaps #
Instances
class ToSourceMapKey a where #
Methods
toSourceMapKey :: a -> Text #
Instances
| ToSourceMapKey Text # | |
Defined in Napkin.Spec.Yaml.Source Methods toSourceMapKey :: Text -> Text # | |
| ToSourceMapKey (Typed a ModuleFunction) # | |
Defined in Napkin.Spec.Yaml.Source Methods toSourceMapKey :: Typed a ModuleFunction -> Text # | |
sourceMapLookup :: ToSourceMapKey a => a -> Context -> YamlSourceMaps -> Maybe Text #