calculator 0.3.1.0 → 0.3.1.1
raw patch · 2 files changed
+4/−2 lines, 2 files
Files
- calculator.cabal +1/−1
- src/Calculator/Help.hs +3/−1
calculator.cabal view
@@ -1,5 +1,5 @@ name: calculator-version: 0.3.1.0+version: 0.3.1.1 synopsis: A calculator repl, with variables, functions & Mathematica like dynamic plots. description: A calculator repl that processes mathematical expressions. Does basic arithmetic, and provides pre-defined basic mathematical functions.
src/Calculator/Help.hs view
@@ -34,13 +34,15 @@ , " :func f ( x ) = x + x + x -- works" , " but not everywhere, e.g in commands" , " : func ... -- doesn't work"-#ifdef PLOT , bold "Plotting: "+#ifdef PLOT , " :plot f (0, 1)" , " -- Plot a single argument function 'f' in range (0, 1)" , " :plot f (0, 1) (1, 2)" , " -- Plot a two argument function 'f' in range (0, 1)" , " -- where the second argument can be varied between 1 and 2"+#else+ , " Plotting functionality not enabled during install" #endif ]