packages feed

cruncher-types 1.0.0 → 1.0.1

raw patch · 4 files changed

+7/−7 lines, 4 files

Files

cruncher-types.cabal view
@@ -1,5 +1,5 @@ name:                cruncher-types-version:             1.0.0+version:             1.0.1 synopsis:            Request and Response types for Eval.so's API description:   You are not likely to find this useful unless you are building a library for
src/Evalso/Cruncher/FinalResult.hs view
@@ -19,9 +19,9 @@  -- | The final result for a given request. -----   This contains the 'Result' obtained from both evaluation and compilation---   as well as any files which resulted from performing the above steps.---   Such files should placed in @~/output/@ of the evaluation.+--   This contains the 'SandboxResult' obtained from both evaluation and+--   compilation as well as any files which resulted from performing the+--   above steps. Such files should placed in @~/output/@ of the evaluation. -- --   This data type also handles error handling, in the form of types. data FinalResult
src/Evalso/Cruncher/Request.hs view
@@ -10,12 +10,12 @@  import Control.Applicative import Control.Monad (mzero)-import Data.Aeson hiding (Result)+import Data.Aeson import qualified Data.ByteString.Char8 as C8 import qualified Data.Text as T  -- | Describes an incoming request to the system. Proper use of this will---   normally lead to some kind of a 'IO' 'Result'.+--   normally lead to some kind of a 'IO' 'SandboxResult'. data Request = Request {     language    :: String   , code        :: T.Text
src/Evalso/Cruncher/SandboxResult.hs view
@@ -12,7 +12,7 @@  import Control.Applicative import Control.Monad (mzero)-import Data.Aeson hiding (Result)+import Data.Aeson import Data.Text (Text)  -- | Describes the result we get back after performing an evaluation (or