Re: [Haskell-cafe] attaching a ghci session to another process

2009-05-29 Thread Thomas ten Cate
What comes to my mind is that you could launch your program from inside GHCi, instead of the other way round. Just write an IO () function that spawns a new thread for the window, graphics, input handling and all that. Call this function from GHCi and your window will appear. Then write some other

[Haskell-cafe] attaching a ghci session to another process

2009-05-28 Thread Kevin Smith
I am starting to get more involved with haskell programming and I'd like to create a program where I can use the interactive loop in ghci to run a haskell functions that create graphics in a separate openGL window. This would be a separate interactive window from the terminal i am running ghci in