logoiMonad.com


Haskell plug-in for Eclipse

Posted in Haskell, functional programming by zoo on the June 29th, 2008

I use Eclipse to all sort of development on C, Java and Haskell. It gives me uniform look and feel on every project. In this post I wold like to show steps necessary to run Haskell Eclipse plug-in.

First of all you need to have Eclipse installed. I will use Ubuntu 8.10 and the installation command is:

sudo apt-get install eclipse

My Eclipse version is: Europa 3.2.2, Haskell plug-in version is: 0.10.0 and Java version “1.6.0_06″

When the installation finish run Eclipse and select “Workbench” from initial page.

  1. From menu on the top select: Help -> Software Updates -> Find and Install ….
  2. On “Install/Update” form select “Search for new features to Install”, click “Next”.
  3. On “Install” form click “New Remote Site …”
  4. On “Edit Remote Site” form enter:
    Name: Haskell Plug-in
    URL: http://eclipsefp.sf.net/updates

    - this is the location of Project that develops Functional Programming plug-in for Haskell and Ocaml. Click “OK”.

  5. On “Install” form select check-box near the “Haskell Plug-in” if it is not already selected and click “Finish”

After the Installation is complete it may be necessary to restart Eclipse.

  1. From menu go to: “Window”-> “Preferences…”
  2. On “Preferences” form select “Functional Programming” and set appropriate compiler and editor options for you system.
  3. On top right corner of Eclipse there is “Java perspective” that can be changed to “Haskell perspective”.

Enjoy happy programming.

Leave a Reply