| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Conferer.Source.Mapping
Contents
Synopsis
- mkMappingSource :: Map Key Key -> SourceCreator -> SourceCreator
- mkMappingSource' :: (Key -> Maybe Key) -> SourceCreator -> SourceCreator
Namespaced higher-order source
This source takes a source and returns a new source that
always transforms the key according to either a function for
mkMappingSource' or a Map for mkMappingSource
mkMappingSource :: Map Key Key -> SourceCreator -> SourceCreator Source #
Create a SourceCreator using a Map Key Key to transform the supplied keys
and another SourceCreator
mkMappingSource' :: (Key -> Maybe Key) -> SourceCreator -> SourceCreator Source #
Create a SourceCreator using a function to transform the supplied keys
and another SourceCreator