Posted in haskell Software

hlint : your friendly code critic and adviser

When learning a programming language, won’t it be nice if you can get some instant feedback on your code? Of course, you cannot expect feedback on bugs in your program. But each language has some built in functionality and idioms which a beginner may not be aware of and it will be helpful to get ... read more

Continue Reading...
Posted in Software

If you have to learn just one programming language

It is a very good idea to learn several programming languages. It makes you a better programmer. But if you want to devote all your energies to becoming a proficient and productive programmer and want to learn one powerful, freely available, high level general-purpose language (not domain specific), what would you choose?

The target audience ... read more

Continue Reading...
Posted in haskell Software

Fibonacci numbers: the slow way or the fast and lazy way

Fibonacci numbers are a series of numbers such as 1,1,2,3,5,8,13,21,34,55,….

You can write a simple program, such as the one given below, in any language such as perl, python, ruby, javascript, php, java, haskell etc.

slowFib 0 = 0
slowFib 1 = 1
slowFib n = slowFib (n - 2 ) + slowFib (n - 
... read more
Continue Reading...