PDA

View Full Version : Haskell Porgramming language?



Kadrus
November 13th, 2007, 05:19 PM
Can anyone tell me how to run Haskell..
I typed this :

sudo apt-get install haskell98-report


and this

sudo apt-get install haskell98-tutorial


But I don't know how to run it and compile anything:(..
anyone can help..please!?

CptPicard
November 13th, 2007, 05:33 PM
You seem to have this problem with pretty much every programming language, huh? ;)

Fire up your favourite graphical package manager interface and do a search... for Haskell, Adept tells me that "hugs" is an interpreter for Haskell... lots of other packages there as well.

Kadrus
November 13th, 2007, 05:35 PM
You seem to have this problem with pretty much every programming language, huh? ;)

Fire up your favourite graphical package manager interface and do a search... for Haskell, Adept tells me that "hugs" is an interpreter for Haskell... lots of other packages there as well.
Alright thanks :)..I owe you one:P..lol..thanks a lot..

geirha
November 13th, 2007, 05:42 PM
Another tip of advice, when you have installed a package, you can see what files it installed by doing
dpkg -L package-name

smartbei
November 13th, 2007, 05:43 PM
You could also try GHC for a haskell compiler: http://www.haskell.org/ghc/

As far as I know that is the most commonly used haskell compiler.

I was looking haskell up a couple days ago and I found a tutorial that looks very thorough: http://www.haskell.org/tutorial/

Kadrus
November 13th, 2007, 05:46 PM
You could also try GHC for a haskell compiler: http://www.haskell.org/ghc/

As far as I know that is the most commonly used haskell compiler.

I was looking haskell up a couple days ago and I found a tutorial that looks very thorough: http://www.haskell.org/tutorial/
Tanks :)..and I just downloaded a book..and started reading which I found good..

Kadrus
November 13th, 2007, 05:48 PM
Another tip of advice, when you have installed a package, you can see what files it installed by doing
dpkg -L package-name

Alright thanks for the advice..much appreciated :).

Kadrus
November 13th, 2007, 05:50 PM
You could also try GHC for a haskell compiler: http://www.haskell.org/ghc/

As far as I know that is the most commonly used haskell compiler.

I was looking haskell up a couple days ago and I found a tutorial that looks very thorough: http://www.haskell.org/tutorial/
Oh and there are some things that cannot be done in HUGS..like defining variables " let something=.."
So GHC has more options :)

pmasiar
November 13th, 2007, 06:30 PM
yet another case of obsessive non-trimming.

LaRoza
November 13th, 2007, 06:49 PM
My wiki has haskell information, including hugs and ghc. Hugs is less featured, but has its advantages.

Kadrus
November 13th, 2007, 07:31 PM
My wiki has haskell information, including hugs and ghc. Hugs is less featured, but has its advantages.
Ok..I'll check it..you have too many wikis by the way!