calculator-0.3.0.0: src/Calculator/Prim/Cmd.hs
{-# LANGUAGE CPP #-}
module Calculator.Prim.Cmd (Cmd (..)) where
--------------------------------------------------------------------------------
import Calculator.Prim.Expr (Expr)
--------------------------------------------------------------------------------
-- | Represents a command given to the calculator
data Cmd = Assign String Expr
| Func String [String] Expr
| Help
| Reset
| Display
#ifdef PLOT
| Plot String [(Expr, Expr)]
#endif
--------------------------------------------------------------------------------