Copyright | (c) Justus Adam, 2015 |
---|---|
License | LGPL-3 |
Maintainer | development@justusadam.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Sort of the Main script for all the common operations, independant of the program instance (webservice, command line)
- reportAndPrint :: Text -> Bool -> ByteString -> IO ()
- reportAndExecute :: Text -> Bool -> DataFile -> Writer Text ()
- serverCalculation :: ByteString -> ByteString
Documentation
reportAndPrint :: Text -> Bool -> ByteString -> IO ()
perform the calculation and print the result to the command line
reportAndExecute :: Text -> Bool -> DataFile -> Writer Text ()
Evaluates the transformed json, compiles (useful) error messages, runs the algorithm and returns a writer of any output created.