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 --------------------------------------------------------------------------------