[Haskell-cafe] Fancy REPL

Does this mean we're going to see music FRP examples soon?!
amindfv / Tom
On Feb 9, 2012 2:17 PM, "Heinrich Apfelmus" <apfelmus at quantentunnel.de>
wrote:
> Dear list,
>> the Show class is extremely useful for exploring Haskell in a terminal,
> but sometimes, I just want something fancier. For instance, I'm currently
> dabbling with sound generation and it is only natural that I want to hear
> the sound instead of seeing a textual representation. Another example would
> be graphics, that are simply drawn on screen whenever you evaluate their
> value.
>> Of course, this is simple to implement with a class
>> class Demonstrable a where
> demo :: a -> IO ()
>> instance Demonstrable Sound where demo = play
> instance Demonstrable Sound where demo = draw
> instance Demonstrable GUI where demo = run
> etc.
>>> However, I don't want to reinvent the wheel, small as it may be, hence my
> question: is there a package on hackage that already defines a class
> similar to Demonstrable ? Or any other projects in this direction, like,
> say, a fancy REPL built on wxHaskell?
>>> Best regards,
> Heinrich Apfelmus
>> --
>http://apfelmus.nfshost.com>>> ______________________________**_________________
> Haskell-Cafe mailing list
>Haskell-Cafe at haskell.org>http://www.haskell.org/**mailman/listinfo/haskell-cafe<http://www.haskell.org/mailman/listinfo/haskell-cafe>
>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120209/19ff55f1/attachment.htm>