calculator-0.4.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
| Plot String [(Expr, Expr)]
--------------------------------------------------------------------------------