- Simple text: shows the result of the expression as GHCi would
- HTML/SVG: renders HTML markup and SVG images in a SWT Browser element. In the screenshot there's Blaze HTML and Diagrams SVG
- JSON: display JSON objects and arrays in a tree
Friday, January 24, 2014
Haskell Worksheet in EclipseFP 2.6
A sneak preview of the worksheet functionality in the upcoming EclipseFP release. I have a Haskell module with a few functions, and the worksheet displays some results using different rendering modes:
We use BuildWrapper and the GHC API to execute the expressions every time the file is saved. The expressions are persistent and hence survive restarting Eclipse.
I don't know when EclipseFP 2.6 will be released, but you can of course get the current code from github.