<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On 22 October 2013 08:32, Andrew Gibiansky <span dir="ltr"><<a href="mailto:andrew.gibiansky@gmail.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=andrew.gibiansky@gmail.com&cc=&bcc=&su=&body=','_blank');return false;">andrew.gibiansky@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hey everyone!<br><br>I'm excited to announce the initial release of IHaskell, a Haskell language kernel for IPython:<br>

<br><a href="http://gibiansky.github.io/IHaskell" target="_blank">http://gibiansky.github.io/IHaskell</a><br>

<br></div>IHaskell allows IPython to communicate with the kernel and evaluate Haskell code. This enables using IPython interfaces such as console, qtconsole, and most importantly, IPython notebook with Haskell. The IPython Notebook supports image, HTML, and LaTeX output, which enables things such as Javascript viewers for complex data structures or embedded graphs and makes it a great platform for interactive computing.<br>



<br></div>You can take a look at the code and install instructions here:<br><br><a href="https://github.com/gibiansky/IHaskell" target="_blank">https://github.com/gibiansky/IHaskell</a><br><br></div>A general overview of the architecture is available as well:<br>



<br><a href="http://andrew.gibiansky.com/blog/ipython/ipython-kernels/" target="_blank">http://andrew.gibiansky.com/blog/ipython/ipython-kernels/</a><br><br></div>Contributing: IHaskell is a very young project, but one that I think would make a great contribution to the Haskell community. There's still tons and tons left to do before it's on par with what IPython notebook is capable of, so if you're at all interested in contributing, please get in touch! I've tried to keep everything well-documented and readable, but I will also be happy to answer questions about the code myself.<br>



<br></div><div>If you find any bugs or edge cases or installation difficulties, please send me an email or create a Github issue for it!<br></div></div></blockquote><div><br></div><div>Hi Andrew,</div><div><br></div><div>

this looks very cool! At first I was a bit wary of the "python" aspects of it, but I dug around a bit in the links you provided, and it seems:</div><div><br></div><div>  * IHaskell is implemented purely in Haskell</div>

<div>  * the communication with IPython is via ZeroMQ sockets</div><div>  * once you throw data over the wall (through ZeroMQ) it gets routed via python to whatever backend (web, LaTeX etc.)</div><div><br></div><div>One thing there has been a lot of demand for in the Haskell community is plotting from a repl. It looks like IHaskell could solve that well, given that all the plumbing already exists. How would you go about displaying, say, a Vector Double?</div>

<div><br></div><div>I assume displaying more complex types would require some custom code. Do you have any examples of how you would use IHaskell to display a data structure in a web browser?</div><div><br></div><div>Conrad.</div>

</div></div></div>