Haskell is a purely functional programming language, general purpose, named after the logician Haskell Curry.
Questions tagged [haskell]
45 questions
15
votes
2 answers
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. If I can't have a near-exact replica of Ion…
mtp
- 151
- 4
13
votes
3 answers
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 type signature String -> workSpaceId -> X ()…
user63896
- 181
- 1
- 6
11
votes
2 answers
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 World project successfully.
However, I'm fairly…
dimo414
- 716
6
votes
2 answers
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 make installing them seem super easy, but in my…
sp3ctum
- 503
- 1
- 5
- 7
6
votes
1 answer
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 requires running an install script. Is there a way…
Matthew Piziak
- 202
3
votes
1 answer
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 problem.
I can get the plugin itself installed…
Dom Kennedy
- 31
3
votes
1 answer
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 Text.Pandoc.JSON
doInclude :: Block -> IO…
Richard Herron
- 1,137
3
votes
1 answer
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 it still happens. It doesn't happen if I edit…
Adam Crume
- 273
3
votes
0 answers
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 report, it says:
For the standard ghci with…
Joey Adams
- 2,318
3
votes
1 answer
Attempting to install Xmonad - package hidden
Probably just a big case of PICNIC, but when I tried to install Xmonad, I get errors stating
Could not load module ‘XMonad’
It is a member of the hidden package ‘xmonad-0.15’.
You can run ‘:set -package xmonad’ to expose it.
(Note: this unloads all…
user1008571
3
votes
2 answers
Install haskell in existing msys2
Is there any simple way to install haskell / cabal / stack in an existing msys2 installation? I can't find one.
Note: Apparently it is possible to install both at the same time using MinGHC, see here.
loxaxs
- 229
3
votes
1 answer
xmonad: focus window when mouse is moved
In my xmonad config, I have set focusFollowsMouse=true so that a window is focused when the mouse pointer is moved onto it. However, I would also like a window to become focused when the mouse pointer is already on it, and it is moved.
Steps to…
ke.
- 31
2
votes
0 answers
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:
scripts/build.sh
Scanning system for any installed…
roykasa
- 359
2
votes
1 answer
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 (where there is a GUI editor built on the platform…
Panicos
- 123
2
votes
0 answers
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. Trying to recover:
Setting up ghc6 (6.12.1-13ubuntu1)…
olimay
- 21