Haskell is a purely functional programming language, general purpose, named after the logician Haskell Curry.

learn more… | top users | synonyms

1
vote
1answer
67 views

Installing EclipseFP on Mac OS X

I am trying to install EclipseFP. I'm running OS X Mavericks. I've tried following both the official installation instructions and the advice in this answer on SU, but I'm still having the same ...
0
votes
1answer
45 views

Compiling Pandoc Haskell script: Could not find module `Text.Pandoc.JSON'

I am trying to use a canned example from Pandoc's scripting page, but I don't understand enough Haskell to make this work. Here's the script. #!/usr/bin/env runhaskell -- includes.hs import ...
0
votes
1answer
18 views

How can I add an extra flag to Leksah?

How can I add an extra flag to Leksah? I'm getting this error: You need -XDeriveDataTypeable to derive an instance .... Where can I add the extra flag in Leksah?
0
votes
1answer
311 views

Xmonad can't find module XMonad

Whenever xmonad starts, restarts, or is recompiled, I get an xmessage: xmonad.hs:1:8: Could not find module `XMonad' Perhaps you meant Monad (needs flag -package haskell98-2.0.0.2) ...
1
vote
0answers
114 views

Installing leksah from source

I tried to install leksah via cabal but I got tons of different build errors so I tried to build it from git. I followed this guide http://www.leksah.org/download.html and I was able to build ...
0
votes
1answer
42 views

iTerm2 not respecting my key bindings…sometimes

I have my iTerm2 keybindings set to have command+left arrow and command+right arrow move the cursor to the beginning and end of the line. This works most of the time. But not when I am in ghci (the ...
2
votes
1answer
252 views

Disable screen turn off

I want to watch a movie with my laptop how I can disable with xmonad that it turn off the screen if vlc or some other app is running is running. Is there some functions what I can used to prevent ...
0
votes
1answer
94 views

Installing haskell ghc fails

I am trying to install Haskell-2012.4.0.0.exe on my computer running windows 7. When I run the installer I get the following message and the installation fails, Installer integrity check has failed. ...
1
vote
1answer
78 views

Emacs saving automatically (*not* auto-save)

When I edit Haskell files, Emacs saves the file whenever I stop typing for more than a second. This is not auto-save mode, as it's overwriting the original file. Also, I disabled auto-save mode, and ...
2
votes
2answers
1k views

What is a good method to solve cabal install problems?

I've used the cabal package manager for Haskell programs to install libraries and new projects that I've cloned from some repositories. More often than not, I keep running into problems. Most projects ...
6
votes
1answer
614 views

Portable Haskell Compiler

I have a Haskell program that I want to run on my school's cluster, but their version of GHC is too old and they won't update it. I want to somehow package it with my source code, but by default it ...
0
votes
1answer
679 views

What is wrong in this xmonad configuration?

I have the following configuration on xmonad.hs, I really just want to add xmobar to the spawn pipe, but i dont know whats wrong. This is my config: import XMonad main = do xmproc <- ...
0
votes
1answer
99 views

How do I modify a literate haskell script to contain unicode characters?

I would like to modify a .lhs file currently written in plain text. For example, -> would be replaced by ā†’ in the .lhs file. I am aware that for display purposes, many text editors can replace these ...
0
votes
1answer
245 views

Fedora 16: Failed to install scion-browser with cabal

It seems like on Fedora 16 cabal isn't able to install scion-browser from hackage because of some incompatibilities with respect to Fedora's shared objects. When I run cabal install scion-browser I ...
0
votes
1answer
1k views

Where to get GHC for centos 6?

Can anyone direct me as to how to install GHC? I went here: http://pkgs.org/centos-6-rhel-6/epel-testing-i386/ghc-ghc-6.12.3-6.el6.i686.rpm/download/ and tried both the binary and source packages ...
13
votes
2answers
495 views

What XMonad Configuration Best Replicates Default Ion3 Behavior and Feature Set?

Not being very familiar with Haskell and lamenting that Ion 3 is now abandonware, I am curious if anyone out there has found a way of replicating the default Ion 3 behavior and aesthetics in XMonad. ...
2
votes
0answers
178 views

Installing haskell platform fails

I am trying to install haskell-platform-2011.2.0.1 onto my SUSE 11.4. I have got all the dependencies required for ./configure, which works ok. But when getting to make, it builds with this error: ...
2
votes
1answer
694 views

How to setup TextMate to work with Haskel

I am new to mac, and am in the process of getting my computer setup with all the programs I need, one of them being Haskell. To my surprise, the Haskell platform for OS X is not like in Windows ...
0
votes
1answer
450 views

How to uninstall GHC 7.x from FreeBSD?

I have installed GHC 7.x on FreeBSD, (installed with binary distribution, not pkg_add) but I have to downgrade it to 6.x. How can I uninstall it? Or is there general method to uninstall program on ...
2
votes
0answers
385 views

ghc6 install trouble: hGetContents: invalid argument (invalid UTF-8 byte sequence)

Having trouble installing ghc6 on Ubuntu Maverick via apt. Here's what seems to be the relevant error that comes up when I try to (apt-get|aptitude) install ghc6: A package failed to install. ...
10
votes
2answers
2k views

Start applications on specific workspaces in xmonad

I know how to associate specific applications with specific workspaces using manageHook and composeAll. What I'm looking for is a way to spawn applications on specific workspaces, i.e. a function with ...
10
votes
1answer
5k views

Configuring Eclipse to compile Haskell with EclipseFP Plugin

I just installed the EclipseFP plugin into my Eclipse setup (on Windows 7 32bit, if that matters), following the instructions. Then I followed the directions in the Eclipse help docs to create a Hello ...
2
votes
0answers
158 views

libedit ignores editrc file in Ubuntu Lucid

I'm trying to get ghci (Haskell's interactive command line) to handle Ctrl+Left and Ctrl+Right arrows properly rather than showing garbage like this: Prelude> 1;5D1;5C At the bottom of this bug ...
1
vote
1answer
2k views

Making fullscreen windows not tiled in xmonad + KDE

I understand, that I need to add something like: composeOne [ isFullscreen -?> doFullFloat ] to my ManageHook. At least according to this page. But I'm not really sure where to add it in my ...
1
vote
1answer
37 views

Unable to have full-screen in Mac's Xmonad

I installed the newest X11. I run the following command unsuccessfully after sourcing ~/.profile $exec /usr/X11/lib/X11/xinit/xinitrc I get a message Screen is terminating and I do not see any ...