I'm going to retry learning Haskell again... So I apt-get installed leksah, ghc, quickcheck, and cabal-install. It didn't work right from the start, this is why I had to install cabal-install and quickcheck. But now the welcoming Main.hs
Helloworld compiles fine, and runs fine. ( It's a really nice hand shake for beginners I must admit I appreciate )
However I'm facing some really strange problem. When I press the space bar in the Leksah source editor, nothing happens.
For example it won't let me enter type MyType = Int
I would be stuck at the end of the word type... and if I continue the letters after the space, it would happend MyType to type giving me: typeMyType
If I define a function, it's not possible to insert any space in between elements
test_swap::[a]->[a]
test_swap(w1:w2:ws)=w2:w1:ws
test_swap(ws)=ws
I suspect that I am missing some package to install. I'm using Ubuntu 12.04, with fluxbox, I have multiple keybindings but all other applications lives with it well and currently I use my space bar between each word in chromium. I have read that the Leksah editor uses gtk, but ubuntu unity uses parts of gtk/gnome so I should have gtk ok... but maybe I am missing a tiny bit...
I don't know. How could I know/guess what I am missing ?