Mary Rose expose some functional programming concepts with Python.
http://maryrosecook.com/blog/post/a-practical-introduction-to-functional-programming
Showing posts with label functional. Show all posts
Showing posts with label functional. Show all posts
Saturday, November 8, 2014
Tuesday, May 15, 2012
Monday, May 14, 2012
The Marvels of Monads - Yet Another Language Geek - Site Home - MSDN Blogs
The Marvels of Monads
Friday, May 4, 2012
Wednesday, March 28, 2012
Friday, July 15, 2011
Using recursion combinators in JavaScript
http://lazutkin.com/blog/2008/jun/30/using-recursion-combinators-javascript/
Functional programming in Dojo
http://lazutkin.com/blog/2008/jan/12/functional-fun-javascript-dojo/
Functional programming in Dojo
http://lazutkin.com/blog/2008/jan/12/functional-fun-javascript-dojo/
Wednesday, June 8, 2011
Monad explained using Javascript
(...)Translation from Haskell to JavaScript of selected portions of the best introduction to monads I’ve ever read(...)
http://blog.jcoglan.com/2011/03/05/translation-from-haskell-to-javascript-of-selected-portions-of-the-best-introduction-to-monads-ive-ever-read/
http://blog.jcoglan.com/2011/03/11/promises-are-the-monad-of-asynchronous-programming/
http://blog.jcoglan.com/2011/03/05/translation-from-haskell-to-javascript-of-selected-portions-of-the-best-introduction-to-monads-ive-ever-read/
http://blog.jcoglan.com/2011/03/11/promises-are-the-monad-of-asynchronous-programming/
Wednesday, November 10, 2010
Functional Javascript
Nice Functional Javascript Library
http://osteele.com/sources/javascript/functional/
http://code.google.com/p/functional-javascript/
http://osteele.com/sources/javascript/functional/
http://code.google.com/p/functional-javascript/
Tuesday, March 9, 2010
Monday, March 8, 2010
F# For C# Programmers: Programming In the Small
Monday, December 21, 2009
Tuesday, December 8, 2009
Saturday, November 8, 2008
A C# library to write functional code
By Luca Bolognese
http://blogs.msdn.com/lucabol/archive/2008/07/15/a-c-library-to-write-functional-code-part-v-the-match-operator.aspx
http://blogs.msdn.com/lucabol/archive/2008/07/15/a-c-library-to-write-functional-code-part-v-the-match-operator.aspx
Friday, August 1, 2008
Introduction to Functional Programming in C#.
List<T>.foreach
Here is a sample code on how to use 'foreach' on 'generic list'
Notice the call to the anonymous function
Notice the call to the anonymous function
class Employee
{
private string _nom;
private double _salary;
public Employee()
{
}
public Employee(string nom, double salary )
{
_nom = nom;
_salary = salary;
}
public string Nom
{
get {return _nom; }
set { _nom = value;}
}
public double Salary
{
get { return _salary;}
set { _salary = value; }
}
}
class Program
{
public static void incSalary(Employee p)
{
p.Salary += 100;
Console.WriteLine(p.Nom + Convert.ToString(p.Salary));
}
public static void Main(string[] args)
{
ListlstEmployee = new List ();
lstEmployee.Add(new Employee("Paul",3300));
lstEmployee.Add(new Employee("Raphael",2500));
lstEmployee.ForEach(incSalary);
lstEmployee.ForEach(delegate(Employee p){Console.WriteLine(p.Nom);});
Console.Write("Press any key to continue . . . ");
Console.ReadKey(true);
}
}
}
Subscribe to:
Posts (Atom)