Questions tagged [leksah]

Leksah is a Haskell IDE written in Haskell

Leksah is written in Haskell, uses Gtk, and runs on Linux, Windows and Mac OS X.

Learn more on its website

52 questions
30
votes
0 answers

How to effectively work with leksah?

How can I effectively work with the leksah haskell IDE? For a start, I am very thankful for all the work that the leksah people put in. It's great! However, I have trouble working effectively in leksah. mymain :: IO () mymain = do myData <-…
mrsteve
  • 4,082
  • 1
  • 26
  • 63
23
votes
3 answers

How to 'go to definition' for user defined function in Leksah?

I can do this for system functions like const by selecting it, right clicking and choosing search(metadata). The same does not work for user defined functions. How do you do such a search? If it is impossible for user defined functions, how do you…
wenlong
  • 1,434
  • 1
  • 13
  • 22
16
votes
3 answers

How could I remove the "if ... then ... else ..." keywords in Haskell (GHC)?

I would like to remove the if ... then ... else ... keywords, because I am embedding a language/DSL in Haskell. if, then and else convey a lot of meaning in many domains, and it would be great if I could redefine (or leave them undefined) them to…
Dingfeng Quek
  • 898
  • 5
  • 14
14
votes
1 answer

Why is the Haddock documentation not showing up on Hackage?

I've got a package on Hackage that has haddock generated documentation but it isn't showing up on the Hackage page. I'm able to upload everything successfully but the documentation doesn't show up. I generate the documentation with cabal haddock or…
Trystan Spangler
  • 1,685
  • 11
  • 20
13
votes
2 answers

Does Leksah have hlint, hoogle integration?

Does leksah support any kind of plugins? Will it? Does it have any plugins built in, such as hlint, hoogle, pl, djinn? If not, is there an easy way to integrate these things?
Dan Burton
  • 53,238
  • 27
  • 117
  • 198
8
votes
3 answers

haskell leksah hello-world

bad news this morning, I was willing to try and use Leksah (nice looking application by the way) for continuing learning haskell. I couldnt compile the "Hello World" example I found reading the leksah tutorial. module Main ( main = putStrLn "Hello…
Stephane Rolland
  • 38,876
  • 35
  • 121
  • 169
8
votes
1 answer

exception installing leksah

Installing leksah with sudo cabal install leksah --global I got 7 of 12] Compiling Text.PrinterParser ( src/Text/PrinterParser.hs, dist/build/Text/PrinterParser.o ) src/Text/PrinterParser.hs:230:42: Not in scope: `catch' Failed…
blackbird014
  • 2,069
  • 1
  • 18
  • 23
7
votes
0 answers

Leksah: automatically build and/or reinstall dependencies when changed

I'm going to work on a project where I will need to work on both the dependencies and the dependent project at the same time. I have arranged it so that the dependencies lies in separate repos side by side with my dependent program. Now, if I make…
worldsayshi
  • 1,788
  • 15
  • 31
7
votes
3 answers

Using Leksah debugger with programs that use readLn and similar

I recently installed Leksah (0.10.0.4 on Windows 7 64 bit), which seems like an interesting IDE for Haskell. However, I am clearly overlooking something when it comes to user input to programs when using it. I have a very simple do printStr…
Godeke
  • 16,131
  • 4
  • 62
  • 86
5
votes
2 answers

turn off warning in leksah

For a good reason, I want to temporally turn of the warnings about the missing type level signature in the leksah IDE. I changed the flags to ghc cabal file and the warnings are absent when I run "cabal install" from the console. However, if I…
mrsteve
  • 4,082
  • 1
  • 26
  • 63
5
votes
2 answers

Importing Haskell modules

I'm new to Haskell. How come when I try to use Days from Data.Time I get this error: Could not find module `Data.Time': It is a member of the hidden package `time-1.1.4'. Perhaps you need to add `time' to the build-depends in your…
Alex Baranosky
  • 48,865
  • 44
  • 102
  • 150
5
votes
1 answer

Haskell/GHC 7.10.1/Leksah : What is the meaning of this Warning: "name ... found in source file but was not in scope"

I am using the Leksah IDE 0.15.0.1 and I get a warning when compiling the example package: "name ... found in source file but was not in scope". What is the meaning of this Warning ? I googled for this text but found noting enlightening.
jhegedus
  • 20,244
  • 16
  • 99
  • 167
4
votes
2 answers

TCP works in GHCi, buffered until program exit in program compiled with Leksah

I wrote this simple prototype client to send commands to a server I'm developing. It works perfectly running in GHCi, but the compiled version buffers everything typed in until I type in "quit" and the program exits. At that point all the input…
Rob Agar
  • 12,337
  • 5
  • 48
  • 63
4
votes
1 answer

Leksah system scope module browser is empty

I have just installed leksah following the user manual. The manual says that I should do a ghc-pkg recache before starting Leksah for the first time, or I might see an empty module browser at the system scope. My problem is that this is what I am…
Boris
  • 5,094
  • 4
  • 45
  • 71
4
votes
1 answer

couldn't install leksah on Ubuntu 16.10 using cabal 1.24.0.2/ghc 8.2.1

I'm trying to install leksah as my development environment using cabal but I ran into errors. user@home:~$ cabal install leksah Resolving dependencies... cabal: Could not resolve dependencies: trying: leksah-0.15.2.0 (user goal) next goal: base…
user51
  • 8,843
  • 21
  • 79
  • 158
1
2 3 4