Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- mkMapProvider :: [(Key, Text)] -> ProviderCreator
- mkMapProvider' :: Map Key Text -> ProviderCreator
- mkPureMapProvider :: Map Key Text -> Provider
Simple Provider
This provider provides values from a hardcoded Map passed at creation time that can not be changed afterwards, it's mostly used as a necessary utility
mkMapProvider :: [(Key, Text)] -> ProviderCreator Source #
mkMapProvider' :: Map Key Text -> ProviderCreator Source #
Make a ProviderCreator
from a Map