Using Haskell With Leksah IDE

Posted on Updated on

Hi there, if you have been interested in Haskell and are not sure of what the IMHO best IDE for Haskell development is then you have come to the right place. For some time now I have doodled around with Haskell because of Microsoft F# which I want to learn at some later stage. F# is a functional language with capacity for the imperative and OOP style of programming, which most people are accustomed to. However, I decided to learn Haskell for the simple reason that it only does functional style programming, and would give a better foundation to functional programming than its F# counterpart.

So, to get started I went to Haskell.org and downloaded the latest version of Haskell for Windows. Once installed it provided a command line interface for working with Haskell in an interpretive way. It is possible to use this interface along with your favourite text editor to create programs; however, a dedicated IDE would be better. At this point my search for the best Haskell IDE begun. My first choice was Eclipse with a Haskell Add-In, the most vexing problem with this set-up is that auto-complete templates have to be created for Haskell and there is no support for intelli-sense with Haskell.

My search went on to Lecksah and concluded with Leksah, this IDE provided debugging, testing, and source control options for my Haskell programs. It also had auto-complete and intelli-sense out of the box; being a noob to Haskell means I will constantly need help with keywords and library references which are provided by the Leksah interface.

That said lets move on to the good stuff :-).This will be the beginning of a series of articles documenting my progression into this weird and wonderful world of functional programming, stay tuned for more.