Haskell is a lazily evaluated functional programming language featuring partial function application and static type checking. It is notable for addressing traditionally imperative tasks with "Monads" to avoid violating pure lazy functional evaluation as in some other languages.

learn more… | top users | synonyms

1
vote
2answers
65 views

Looping through csv, removing patterns

I have a question similar to my earlier question, but a bit different say you have 10 columns on each line, and 100000 lines, I want to check if each row for the following patterns: If a row looks ...
0
votes
1answer
28 views

How to run Haskell Platform after build

I built the haskell platform as stated on the haskell package site. After make install I was told the files were installed to /usr/local/bin How do I run the haskell platform after this step?
1
vote
1answer
1k views

Haskell platform on 14.04

Is it right that 14.04 does not have the haskell platform avaible by the software center. Do I need to compile it by source or is there anothe way to make this work ? Roelof
1
vote
1answer
348 views

Installing GHC 7.8.2 on Ubuntu 13.04

First: Yes, I really do mean to install install just GHC, and not the Haskell Platform. I am installing in a VM made just for this purpose, I have the platform installed elsewhere. So the standard ...
0
votes
1answer
28 views

Link all haskell commands to different version

I recently installed ghc 7.8, but now I want to go back to ghc 7.4 I installed ghc 7.8 via a binary package, but I didn't uninstall it correctly. When I run ghc, ghci or runhaskell, I get ...
1
vote
1answer
123 views

How to install haskell for Ubuntu 13.10? [duplicate]

I am trying to do sudo apt-get install haskell-platform but get only package not found message. What do I actually need to do?
0
votes
1answer
142 views

ppa for GHC 7.6

I was wondering if there is some decently trusted PPA of GHC 7.6? Preferably the newest. I want a decently recent Haskell platform without having to build from source. I am not experienced enough ...
2
votes
1answer
795 views

What is the bootstrap.sh script?

I am trying to install cabal-install. Readme says I should use bootstrap.sh to download and install the dependencies. It says I should use this script like below $ ./bootstrap.sh But I couldn't ...
0
votes
1answer
173 views

yesod on ubuntu 13.10

using Ubuntu 13.10 on a Lenovo E135, I've installed the Haskell package and the yesod helper package via Ubuntu Software Center. Installation was success. But if I want to create an Yesod project with ...
2
votes
1answer
586 views

Installing Haskell Platform from source on Ubuntu 13.04: Can't find OpenGL

I'm attempting to install Haskell Platform 2013.2.0.0 on a fairly fresh Ubuntu 13.04, using the instructions here: ...
1
vote
2answers
129 views

Building ghc 7.6.3 on Ubuntu 13.04 leads to error in DynFlags.hs

I'm trying to build ghc following the directions here: How to install Haskell Platform for Ubuntu 13.04? I keep getting: HC [stage 1] compiler/stage2/build/DynFlags.p_o Killed make[1]: *** ...
0
votes
1answer
137 views

Libgmp3 not present

I need libgmp.so.3 to install GHC. However, installing libgmp-dev only installs libgmp.so and libgmpxx.so according to the installed files list. I have seen elsewhere people using symlinks, but this ...
1
vote
1answer
206 views

Cannot compile Glasgow Haskell Compiler

./configure checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for ghc... no configure: error: GHC is required unless bootstrapping from .hc files. ...
2
votes
1answer
245 views

How to update Twidge 1.0.8 form repositories to 1.1.0 from GitHub?

I would like to install Twidge 1.1.0, but only 1.0.8 is available in repositories and this version is not compatible with new Twitter API and it's not usable anymore. 1.1.0 is available in Debian sid, ...
1
vote
1answer
53 views

How do I “:set prompt” by default for a particular program?

I'm new to Linux. I installed Haskell and was going through a tutorial, which showed me I can :set prompt "ghci> " to change the prompt. I like the way this looks. How can I make it so that ...
0
votes
0answers
31 views

How to install Haskell Platform 2013.2.0.0 on Ubuntu 13.04? [duplicate]

I want to use Haskell Platform 2013.2.0.0 on Ubuntu 13.04. Because there is no binary package provided, I have to compile it manually. However, there is a problem. Ubuntu repo provides GHC 7.6.2, ...
1
vote
1answer
3k views

“cannot determine current directory” while building Haskell in 13.04

I'm trying to install the Haskell Platform on Raring. Since there's no apt package, I've downloaded the GHC 7.4.2 binary x86_64 distribution (which is a prerequisite), and I am trying to run ...
31
votes
5answers
23k views

How to install Haskell Platform for Ubuntu 13.04?

How to install Haskell Platform for Ubuntu 13.04? I get the following error when I type sudo apt-get install haskell-platform: E: Unable to locate package haskell-platform error
0
votes
0answers
425 views

How do I use the Haskell ghci compiler? [duplicate]

im trying to install Haskell on ubuntu for 5 days, i looked up many sites but never found a solution for my problem so i thought i post it here.At first i tried to install it by using the terminal but ...
3
votes
1answer
1k views

Trying to install pandoc via cabal install fails

Since the pandoc package in the repository is outdated, I would like to install it via cabal-install. I ran cabal update, and then cabal install pandoc which fails with: cabal: Couldn't read cabal ...
11
votes
3answers
5k views

“cannot determine current directory” while building haskell

I'm trying to install haskell on ubuntu 11.10 and I'm following the instructions on this website: https://gist.github.com/1524859 But when I type ./configure I get an error message saying: checking ...
2
votes
2answers
580 views

How can I install haskell-hunit?

I'm running 11.10 (amd64). I see there's this package: http://packages.ubuntu.com/source/oneiric/haskell-hunit However: $ sudo apt-get install haskell-hunit Reading package lists... Done Building ...
3
votes
1answer
199 views

Why can't I install FreePascal and the Gold linker at the same time?

I develop in Haskell privatly, but for school I have to use Delphi (I am allowed to use Lazarus though). To speed up linking in GHC (The compiler for Haskell) I installed binutilus-gold. But now, when ...
4
votes
1answer
204 views

Combine cabal and checkinstall

Suppose I have a program which I can install via cabal, for example cabal install pandoc Is it possible to use checkinstall to make a .deb package out of this and install it in a second step via ...
6
votes
6answers
9k views

How can I install haskell-platform?

Haskell-platform currently has unmet dependencies on Ubuntu 11.04. This is a known bug, but I'd like to get it installed sooner rather than later. Can anyone recommend a way to install ...
6
votes
2answers
582 views

When installing Haskell, dependency is not satisfiable: ghc6 (< 6.12.1+)

What does that mean, can I not install haskell? I just upgraded to Natty, is that the reason? As you can see in the screenshot I get this problem in the Software Centre: The following packages ...
1
vote
0answers
325 views

How to add gimp configuration for xmonad? [closed]

I've used a xmonad.hs like this for months without any issues. import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Util.Run(spawnPipe) import ...
1
vote
1answer
431 views

Problem installing Cabal-1.8.0.2

I am running Ubuntu 10.10, ghc 6.12.1, gcc 4.4.5. I am trying to install Nikki And The Robots. When I do cabal install it fails to install Cabal-1.8.0.2. Cabal-1.8.0.2 already exists in ...
0
votes
1answer
1k views

cabal install readline ask readline not found error

How to cabal install readline in ubuntu 10 Resolving dependencies... Configuring readline-1.0.1.0... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether ...
1
vote
0answers
132 views

How to compile and make ghc-6.2.2 [closed]

in ubuntu i compile ghc-6.2.2 got the following error /usr/bin/ghc -M -optdep-f -optdep.depend -osuf o -H16m -O HaskTags.hs on the commandline: Warning: -optdep-f is deprecated: Use ...
1
vote
1answer
2k views

How do I use Haskell (hugs)?

Hey! I have installed hugs on Ubuntu 10.10 But now I have the problem how to run it. Before, I mean in later versions of Ubuntu I typed just sudo run hugs and it worked. Now it doesnt work. How ...
2
votes
1answer
793 views

Install Haskell (hugs) - Package not found

I have problems with installing haskell (hugs) on Ubuntu 10.10. I had the latest version before and I wrote just sudo apt-get install hugs and everything worked. But now with Ubuntu 10.10 It tells me ...
3
votes
1answer
643 views

Best way to set up a haskell development platform

Since a while, I'm developing in Haskell. My question is: what's the easiest way to set up a reasonable development system for Haskell? I installed the official packages, but IMO it's not working very ...
3
votes
3answers
962 views

How do I install the Glasgow Haskell Compiler?

How can I install ghc in Ubuntu 10.10?
4
votes
2answers
1k views

Will Haskell Platform be available in 10.10?

I've been waiting for a couple years to be able to do an apt-get install haskell-platform on Ubuntu. Will a haskell platform-package be available on Ubuntu 10.10?