News for hackers. Stuff that matters.
Re:A Haskell kernel for IPython by mkl on Tuesday October 22, 2013 @06:41PM (#6595478)
In IPython notebooks with python, objects with special methods like _repr_svg_ and _repr_latex_ get displayed using SVG or LaTeX or whatever. Is there a way to do this with IHaskell?

Is IHaskell related to ihaskell-notebook? https://github.com/creswick/ihaskell-notebook

If anyone wants a good intro to the amazing stuff IPython can do, check this (~3hr) video out: http://pyvideo.org/video/1652/ipython-in-depth-high-producti...

Or, many examples of what the notebooks can do: http://nbviewer.ipython.org/

Re:A Haskell kernel for IPython by PieSquared on Tuesday October 22, 2013 @07:01PM (#6595591)
IHaskell is inspired by ihaskell-notebook, but instead of forwarding to GHCi via text pipes, it actually uses the GHC API to evaluate code. I think this will mean that the integration can be deeper, and it can more easily do things like type inspection and pretty printing. I'm planning on introducing some typeclasses analogous to Haskell's Show for Latex and SVG and HTML representations, but haven't quite figured out how to do it - it is the next order of business though.