4

I mean it have features like inline graphics display, worksheet mode, audio playback and ect ... like ipython, maple and matlab

I found winghci on windows but it doesn't seem to have those features. (BTW, I didn't use Windows)

On Linux, I can't find any GUI mode for ghci. I always run ghci from terminal.

Duplicated? this and this show that ghci is capable of do graphics but it is not exactly what I want to know.

Community
  • 1
  • 1
wizzup
  • 2,361
  • 20
  • 34

2 Answers2

3

There is a Summer of Code project called GHCLive, which looks exactly like what you want. Quite surprisingly, no one is really talking about it.

I wish they were.

aleator
  • 4,436
  • 20
  • 31
  • Indeed, good you mention it – I already searched for this upon seeing this question, having read H.Apfelmus' original announcement of the project proposal, but I couldn't seem to find it. — Sure, it doesn't look exactly finished, but _in principle_ works quite nicely. – leftaroundabout Nov 23 '12 at 11:03
2

There's no "graphical" version or variant of GHCi. As pointed out in the linked questions, there are plenty of Haskell libraries to do plots, drawings, and other graphics, and there are plenty of libraries that output audio or produce music.

If you just need nicer Haskell programming helpers, you should look at the various Haskell modes for Emacs (my personal favourite is ghc-mod). These also let you evaluate Haskell expression from Emacs, which could allow you to simulate worksheets.

There are also some pure-Haskell editors like Yi or Leksah which do everything the Haskell modes for Emacs do, but in a purer way. In particular, Leksah aims to be exactly what you're looking for: an IDE for working with Haskell.

scvalex
  • 14,931
  • 2
  • 34
  • 43