Module
Tupc
- Package
- purescript-tupc
- Repository
- rubenpieters/tupc
#fromGenericContent Source
fromGenericContent :: forall r f. Monad f => { fileContent :: f String, throw :: forall a. String -> f a | r } -> f (Map Char EnrichedPos)
Reads configuration from generic content.
#fromFileUTF8 Source
fromFileUTF8 :: forall r e f. MonadEff (exception :: EXCEPTION, fs :: FS | e) f => { throw :: forall a. String -> f a | r } -> String -> f (Map Char EnrichedPos)
Reads configuration from UTF8 encoded file.
#fromJson Source
fromJson :: forall r f. Monad f => { throw :: forall a. String -> f a | r } -> SubJsonConfigContent -> f (Map Char EnrichedPos)
Reads configuration from javascript object.
subJsonConfig
contains the configuration section.
content
contains the content section.
Re-exports from Tupc.Internal
#SubJsonConfigContent Source
type SubJsonConfigContent = { content :: Content, subJsonConfig :: SubRecord OptParams }