View Full Version : Creating a programming environment

4th August 2010, 09:04 AM
I downloaded and installed the programming language Haskell on my Mac. And I have a directory which contains some Haskell programs.

For instance, I want to run runghc against the following:
file://localhost/C:/Documents%20and%20Settings/brazee/My%20Documents/code/hello.hs (I synchronize that directory between my work and home computer - which is why it seems to have a Windows path).

I will also want to create a hello.app. My knowledge of terminal is so limited that I gave up looking for this directory and used pathfinder to open terminal there instead, where I successfully ran "runghc hello", which worked.

Where can I find instructions on how to create a comfortable working environment?

While I have 4 decades of programming experience, none of it is on a desktop computer.

4th August 2010, 11:30 AM
I haven't done any Haskell, but I think what you're after is an Integrated Development Environment (IDE). From a quick search, this one looks pretty good: Leksah - Haskell IDE in Haskell (http://www.leksah.org/), but I haven't used it before or anything. Search around for a Haskell IDE and see what you think suits you.

And unless you've got your home & work computers set up a particular way, Dropbox (https://www.dropbox.com/referrals/NTYwNzc4NTk) is a really good way to keep files in sync between computers that works on both Windows & Mac and should really simplify your paths (ie. you'd be typing something like "cd /Users/brazee/Dropbox/code" instead of all that from your post).