Programming is based on functions which can be primary programming and its called functional programming it is a basic practical approach towards programming and make them easier and problem solving in general into computation. We can say that it play a role of bridge between computer application and formal methods. In every computation, output depends on parameters. So we can say that any functions is best way of a specifying a computation. And Functional programming is depends on computation.
It have a characteristic features, that means any expression which having well defined value, then order which in which computation is processed does not affect evaluation. It means language can be calculated, manipulated just like mathematical expression using some algebraic laws. After this outcome is conceptual framework of programming is processed one time but it is very simple, concise and flexible.
Aim of functional programming is increase the advantages of expressions to whole programming languages.
( x+y )*zit is an arithmetic
( x+y)=0it is rational
-(x ѵ y )Boolean
Assignment can alter the computations but must be in order for an example
But expression in order is not harmful and thus it is order dependent. It is called Church-Rosser Theorem
This theorem state that if any expression can be reduce by zero or may be more reduction steps to either M or any be N then may be their other irreducible expression are present, may be normal form in which M and N will be reduced.
( ƛx .x+1)4 => 4+1
This example shows that lambda-calculus contain beta-reduction rule for evaluate the application of lambda concept to an expression. This theorem gives expression of reasoning is easy and also support order independence and fine-grained parallelism.
Some example of functional programming languages:
To Schedule a Functional Programming tutoring session
To submit Functional Programming assignment click here.