PCLT-0.1: Extension to Show: templating, catalogizing, languages, parameters, etc.

Text.PCLT.MakeMessage2

Description

Addition to Text.PCLT.MakeMessage module. Some wrappers around pcsi2text function.

Synopsis

Documentation

pcsi2new_text_plus_errs_1 :: PCSI -> (ShowDetalizationLevel, LanguageName) -> PCLT_Catalog -> StdOutAndErr_CLBSSource

Wrapper around pcsi2text_plus_errs_1 for cases, when new CLBS is to be created. It's maximal length is set to be same as configured in parameter pcsInstaniationResultMaxSize

pcsi2text_plus_errs_1 :: StdOutAndErr_CLBS -> PCSI -> (ShowDetalizationLevel, LanguageName) -> PCLT_Catalog -> StdOutAndErr_CLBSSource

  1. generates message from given PCSI
  2. generates representation of errors list (that occurred, when doing step (1))
  3. generates representation of errors list (that occurred, when doing step (2))
  4. appends text result of step (3) to given CLBS
  5. appends text result of step (2) to given CLBS
  6. appends text result of step (1) to given CLBS

pcsi2new_text_plus_errs_2 :: Int64 -> PCSI -> (ShowDetalizationLevel, LanguageName) -> PCLT_Catalog -> (StdOut_CLBS, StdErr_CLBS)Source

Wrapper around pcsi2text_plus_errs_2 for cases, when new CLBSs are to be created:

  • One - for representation of normal output. It's maximal length is set to be same as configured in parameter pcsInstaniationResultMaxSize
  • Another - for representation of errors. It's maximal size is specified in the first argument of function.

pcsi2text_plus_errs_2 :: (StdOut_CLBS, StdErr_CLBS) -> PCSI -> (ShowDetalizationLevel, LanguageName) -> PCLT_Catalog -> (StdOut_CLBS, StdErr_CLBS)Source

  1. generates message from given PCSI
  2. appends text result of step (1) to given CLBS_1
  3. generates representation of errors list (that occurred, when doing step (1))
  4. generates representation of errors list (that occurred, when doing step (3))
  5. appends text result of step (4) to given CLBS_2
  6. appends text result of step (3) to given CLBS_2