30

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 <- getMyData
    ...
    ...

How can I show the type of some variable in a do-expression, like myData? When I right click on it and then go to type, the error message gets <interactive>:1:1: Not in scope: 'myData'. Also after I do something with ghci in leksah, build (CtrlB) no longer compiles my project but suddenly does something else.

How can I effectively use leksah in general and especially concerning ghci in leksah (like display a type of something that is not toplevel but nested)? What are the top 5 things you would suggest?

Chris McFarland
  • 6,059
  • 5
  • 43
  • 63
mrsteve
  • 4,082
  • 1
  • 26
  • 63
  • 3
    I, like you, found using leksah for Haskell enormously confusing. I know this doesn't answer your question but I would recommend using EclipseFP with the haskell plug-in (many tutorials are available online). – IntegrateAllDay May 21 '14 at 20:51
  • 1
    thanks for the comment! However I would like a solution using leksah and not switch to a different IDE. I am quite happy with most that leksah has to offer, even tough it is sometime difficult to use (bugs, lack of documentation). Also I want to support leksah by using it! – mrsteve May 25 '14 at 12:04
  • please answer, the open bounty will go to anyone who answers and is gone otherwise! – mrsteve May 29 '14 at 20:44
  • bounty goes to anyone who answers in the next 23h hours (it's gone otherwise...) – mrsteve Jun 01 '14 at 11:22
  • 2
    This question is too broad for StackOverflow - it would be ok if it was just asking about how to show types and nothing more. – Ganesh Sittampalam Jun 18 '14 at 21:54
  • It's simply a raw product and has lots of loose ends compared to other editors. If that's not good enough--fortunately it's open source. So, grab the code and add the features you want. – Dax Fohl Jul 30 '14 at 11:48

0 Answers0