Re: Making GHCi awesomer?

Along the lines of making GHCi better it would be very nice if we could use
SDL, OpenGL etc in GHCi.
Is there a characterization of the libraries that we can't use in ghci?
As you know this has been a problem for years. Is there an open bug about
it?
I know there was some hope that dynamic linking in 7.8.3 would fix this.
What has been your experience?
For some reason I get mail to ghc-devs but can't send mail to the mailing
list.
Thanks
George
On Sat, Oct 18, 2014 at 12:48 PM, Christopher Done
Good evening,
...
For years I’ve been using GHCi as a base and it’s been very reliable for almost every project I’ve done (the only exceptions are things like SDL and OpenGL, which are well known to be difficult to load in GHCi, at least on Linux). I think we’ve built up a good set of functionality https://github.com/haskell/haskell-mode/wiki/Haskell-Interactive-Mode purely based on asking GHCi things and getting it to do things.

i'm pretty sure they're usable in ghci... i think theres just certain flags
that need to be invoked for one reason or another, but I could be wrong
(and i've not tried in a while)
On Tue, Oct 21, 2014 at 2:58 PM, George Colpitts
Along the lines of making GHCi better it would be very nice if we could use SDL, OpenGL etc in GHCi.
Is there a characterization of the libraries that we can't use in ghci?
As you know this has been a problem for years. Is there an open bug about it?
I know there was some hope that dynamic linking in 7.8.3 would fix this. What has been your experience?
For some reason I get mail to ghc-devs but can't send mail to the mailing list.
Thanks George
On Sat, Oct 18, 2014 at 12:48 PM, Christopher Done
wrote: Good evening,
...
For years I’ve been using GHCi as a base and it’s been very reliable for almost every project I’ve done (the only exceptions are things like SDL and OpenGL, which are well known to be difficult to load in GHCi, at least on Linux). I think we’ve built up a good set of functionality https://github.com/haskell/haskell-mode/wiki/Haskell-Interactive-Mode purely based on asking GHCi things and getting it to do things.
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

2014-10-22 3:20 GMT+02:00 Carter Schonwald
i'm pretty sure they're usable in ghci... i think theres just certain flags that need to be invoked for one reason or another, but I could be wrong (and i've not tried in a while)
I just gave a few OpenGL/GLUT examples a try with the 2014.2.0.0 platform on Ubuntu 14.04.1 (x64), and things work nicely using plain "ghci" without any flags. I remember there were some threading issues (OpenGL uses TLS), but obviously that's not the case anymore. Hmmm, has something changed? Anyway, I would be interested in any concrete problems, too.
participants (3)
-
Carter Schonwald
-
George Colpitts
-
Sven Panne