Questions tagged [haskell]
Haskell is a purely functional programming language, general purpose, named after the logician Haskell Curry.
45
questions
0
votes
1
answer
316
views
Move window to workspace and focus that workspace (shiftAndView) on XMonad WM
I have XMonad for a while and I have been working on this for the last couple of days, and still no solution.
Let me give you an example of what I'm trying to do:
VLC is open, move it to workspace 2 ...
1
vote
1
answer
1k
views
How to spawn a program on a specific workspace at startup using XMonad?
Like, many, others, I am trying to spawn a program on a specific Xmonad workspace at startup.
Here is my xmonad.hs that should start Firefox on workspace 4:
import XMonad
import XMonad.Actions.SpawnOn
...
0
votes
1
answer
177
views
How to change the default Xmonad configuration off all users?
The canonical way to configure Xmonad is by creating the file ~/.xmonad/xmonad.hs
However, I would like to change the default Xmonad configuration for all users, and not just for myself.
I have ...
0
votes
0
answers
72
views
VS Code Haskero debug configuration on Ubuntu
I am trying to configure VS Code for Haskell. I use Haskero extension, which works great for code navigation, highlighting etc. However, for some reason when I try to start a debugging session I ...
0
votes
1
answer
3k
views
After installation of Haskell: Haskell works, but isn't attainable in terminal
I installed Haskell for the use of TidalCycles on Mac / 10.14.6
TidalCycles works fine, so Haskell should to work too.
However, after entering 'ghci' in the terminal, the following message appears
-...
0
votes
1
answer
766
views
Xmonad change keybinds based on keyboard layout
Is there there a way to define different keybindings in Xmonad depending on the current keyboard layout? For example, if I switch between standard US and Dvorak keyboard layouts, is there a way to ...
0
votes
0
answers
571
views
Dump memory of process which exits immediately
I am doing a little keygen challenge (written in Haskell), which accepts one commandline argument (a license) and exists after checking if the provided string is valid or not.
Hence I am not able to ...
0
votes
1
answer
34
views
Installing Haskell math-functions-0.3.1.0 hangs
Trying to install Haskell datasets (http://hackage.haskell.org/package/datasets).
The installation hangs when building math-functions-0.3.1.0.
Tried to install individual dependencies, and again had ...
1
vote
0
answers
65
views
When running stack build for with scalpel as a dependency, I encounter exitFailure1
Currently using stack to build the project with only base and scalpel as my 2 dependencies.
This is the error log:
2019-03-31 19:47:34.154259: [info] curl-1.3.8: configure
2019-03-31 19:47:34.154652:...
2
votes
1
answer
1k
views
XMonad, spawn mutliple terminals on startup on different workspaces
Is it possible to spawn multiple terminals on startup on different workspaces?
I have a bunch of terminals and Firefox which I would like to have running on startup. XMonad places Firefox correctly, ...
0
votes
1
answer
436
views
Xmonad, How to set up a grid of workspaces?
I want to have 9 workspaces as a grid. And to navigate them using the arrow-keys. So far I can navigate with the arrow-keys, but I want to get rid of the "wrap-around". For example, if workspace 9 is ...
3
votes
1
answer
2k
views
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 -...
0
votes
1
answer
2k
views
Haskell error with modules
I had Haskell platform installed on my computer and it worked fine until today. Today, when I wanted to load a file in prelude I got this error:
Could not find module `Test.QuickCheck'
Use -v to see ...
2
votes
0
answers
341
views
xmonad: mouse hover hook
I'm trying to make xmonad focus the window underneath the pointer when the mouse is moved, regardless of which window is focused. This was addressed in this question; however, the provided solution ...
3
votes
2
answers
2k
views
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....