packages feed

calculator-0.3.0.1: src/Calculator/Prim/Result.hs

{-# LANGUAGE CPP #-}

module Calculator.Prim.Result
    ( Result (..)
    ) where

--------------------------------------------------------------------------------

import           Calculator.Prim.Bindings (Bindings)

--------------------------------------------------------------------------------

data Result = NewBindings Bindings
            | Text String
            | Error String
            | Value Double
#ifdef PLOT
            | Action (IO ())
#endif

--------------------------------------------------------------------------------