On Fri, Sep 14, 2012 at 2:18 PM, Andrew Pennebaker wrote:
A summary of the changes I've included so far:[...]Another comment:"As a declarative language, Haskell manipulates expressions, eventually reducing expressions to values."Huh? In what sense do declarative languages manipulate expressions? Sounds like a classic syntax/semantics confusion, especially when interpreters and/or lazy evaluation (implementation issues, not language properties) are in the mix.Noted and reflected in the new version.I'm trying to introduce the concept of declarative programming as opposed to imperative programming. Declarative programming according to Wikipedia:is a programming paradigm that expresses the logic of a computation without describing its control flow.I believe this is done in Haskell and other declarative languages by treating code as manipulable, reducible expressions, where imperative languages would use machine instructions.