NCurses program cannot be interpreted?

13 Mar
2012
13 Mar
'12
4:24 a.m.
Hi, I am writing an ncurses based haskell program. I am unable to run it via ghci - I get an error message saying that UI.NCurses could not be found. If I run it via "runhaskell", the terminal gets messed up. The only way that I found works is to compile it using "ghc source.hs" and running the binary. I can guess that not being able to interpret it has something to do with the terminal like capabilities of ghci (as ncurses needs a terminal I suppose). But why does runhaskell not work either? I am just trying to understand how the three ways to run the program are different. Thanks, Aditya
4816
Age (days ago)
4816
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aditya Manthramurthy