[Haskell-beginners] REPL with visualisation

Martin Vlk martin at vlkk.cz
Sat Nov 28 17:26:58 UTC 2015

Great to hear people still play with programming - I should do that more
myself! ;-)

Racket has a very nice REPL that lets you display nontextual data, such
as the plot utils for graphs here:
Would be great to get something like this for Haskell.

Otherwise for the Mandelbrot set I'd imagine you could use the
"diagrams" package to specify the graphics using Haskell and then have
it rendered into a file that you load up into browser.

Then you can change the spec, re-generate file and reload in the browser.


> Ondrej,
> It has just text. Have you seen this though...?
> The hackage page...
> https://hackage.haskell.org/package/vacuum
> and a YouTube video...
> https://www.youtube.com/watch?v=X4-212uMgy8
> That might be of interest?!
> All the best,
> Sean.
> On 28 November 2015 at 16:10, Ondrej Nekola <ondra at nekola.cz
> <mailto:ondra at nekola.cz>> wrote:
>     Does it have some support for visual results or just text outputs?
>        OSN
>>     When I was learning it (still learning!) I just use emacs.
>>     Top half is my code window, bottom half is a standard "M-x shell"
>>     then run ghci. It works. I've tried to use leksah but it is a
>>     little "busy" and doesn't really help to keep things simple when
>>     you are still learning, IMO anyway.
>>     On 28 November 2015 at 15:41, Ondrej Nekola <ondra at nekola.cz
>>     <mailto:ondra at nekola.cz>> wrote:
>>         I can (partially) answer myself: after a bit of experimenting
>>         iHaskell (jupyter/ipython + haskell kernel - don't try to
>>         install this with cabal, stack works. Don't forget to install
>>         native libraries) is quite usable. There is great looking
>>         haskellformac (paid) software but as the name suggests it's OS
>>         X only.
>>            OSN
>>             Hi
>>             Just curious: is there some recommended "first choice"
>>             combination of REPL and libs for (Apple) Swift styled
>>             "playgrounds"? (I have just seen a fractalish coffee spill
>>             and remembered that I have not implemented Mandelbrot set
>>             since high school and Pascal days and maybe it's time to
>>             be a bit childish again).
>>             Thanks
>>                 Ondra 'satai' Nekola
>>                 ondra at nekola.cz <mailto:ondra at nekola.cz>
>     _______________________________________________
>     Beginners mailing list
>     Beginners at haskell.org <mailto:Beginners at haskell.org>
>     http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

More information about the Beginners mailing list