A functional program is one in which:
A subset of Lisp, with no destructive functions, is an example of a functional language.
(defun hypotenuse (x y) (sqrt (+ (expt x 2) (expt y 2))) )
Functional programming is easily adapted to parallel programming, since the program can be modeled as flow of data through functions that could be on different machines.
Contents Page-10 Prev Next Page+10 Index