Re: EE Student, Edit, Proposal Masters, Help (concepts of functional programming, symbolic programming and MATLAB)

From: Jens Axel Søgaard (usenet_at_soegaard.net)
Date: 03/11/05

  • Next message: Wolfram Research: "Wolfram Research Releases gridMathematica 2 and Parallel,Computing Toolkit 2"
    Date: Fri, 11 Mar 2005 16:12:27 +0100
    
    

    John Creighton wrote:

    > Lisp has since been
    > expanded to include many programming paradigms and is now known as
    > Common Lisp (CLisp). Although, Common Lisp is no longer a pure
    > functional language some functional programming language lisp dialects
    > have been created (e.g. Scheme).

    Scheme support the paradigm of functional programming very well,
    but is also impure.

    > In a pure functional (e.g. Haskell) languages such as Haskell [39]
    > assignment is not allowed in order to eliminate side effects.
    > Alternatively monads are used to solve problems such as exception
    > handling which is difficult to do without assignment.

    Are you saying that it is difficult for the user of Haskell or the
    implementor of haskell to implement exceptions? Or perhaps you
    are talking about exceptional situations rather than "traditional"
    exceptions.

    > This is not
    > necessary in Maple because Maple is not a pure functional language. In
    > Maple assignment can be done as in a procedural style:
    > x:=2
    > x:=x+1

    Perhaps you mean "imperative style" rather than "procedural style"?
    (Since you don't define any procedures nor call them in the example)

    > Variables can represent many kinds of data structures.
    > A data structure that can be evaluated is known as an expression.

    Variables are bound to values. How do you define data structure?

    > The symbolic package for MATLAB performs symbolic operations by
    > storing symbolic expressions as objects. MATLAB manipulates
    > expressions by: passing the expression to the Maple kernel and then
    > storing the resulting string in a field of a symbolic object [7].

    What is a symbolic object?

    > However, there is a size limitation on the size of a symbolic
    > variables that can be used within the symbolic package.

    What is the size of a variable?

    -- 
    Jens Axel Søgaard
    

  • Next message: Wolfram Research: "Wolfram Research Releases gridMathematica 2 and Parallel,Computing Toolkit 2"

    Relevant Pages

    • Re: F#
      ... they have chosen Common Lisp _because_ of the ... The efficiency of a program is very hard to predict, especially for large programs, and the programming language and implementation thereof that is used is only one of many different factors. ... Knowing a success story only tells me that other people ...
      (comp.lang.functional)
    • Re: RFC - New Object-Oriented Method of Parallel Programming
      ... It terms of stress-flow a task can have ... implement, as well, and in this programming model possible by multi-step ... Exceptions are actually almost completely unnecessary in the model proposed. ... program the creatures so they can live their own lives on their own, ...
      (comp.object)
    • Re: Paul Grahams Arc is released today... what is the long term impact?
      ... not mistaken Common Lisp was just a mash-up of many other lisps. ... was to combine the two languages. ... disagree with a lot about Arc, but to me it's Common Lisp 2, because ... What matters are concepts like functional programming, not concrete functional programming languages; object-oriented programming, not concrete object-oriented programming languages; imperative programming, not concrete imperative programming languages; programmable programming languages, not concrete programmable programming languages. ...
      (comp.lang.lisp)
    • Re: Cpp Considered Harmful
      ... programming language, the compiler, the IDE, the libraries, etc. ... WRT exceptions, the fact of the matter is that placing certain ... >> regarding the CPP. ...
      (comp.lang.cpp)
    • Re: EE Student, Edit, Proposal Masters, Help (concepts of functional programming, symbolic programmi
      ... >Symbolic programming languages fall under two categories, ... Maple) and logical. ... No, expressions are not lists. ... This is referred to as lazy evaluation. ...
      (sci.math.symbolic)