[Haskell-cafe] [ANN] IHaskell Update -- Call for Help/Suggestions
andrew.gibiansky at gmail.com
Mon Dec 16 20:40:57 UTC 2013
I'm excited to announce a significant update to IHaskell. I originally announced IHaskell a few months ago, but there's been a few exciting changes:
Significantly more stable and less buggy. It's been updated to use the GHC API for parsing and evaluation, so behavior should be very similar to GHCi in most places.
You can now defined modules in cells instead of just interactive code. These modules are compiled to object code and loaded and provide fast runtime compared to interactive code.
Most important: IHaskell can now load additional packages in order to provide rich display capabilities for specific data types. This means that it can be augmented through separate packages. If you have interest in providing a rich display mechanism for a data type, please consider writing an IHaskell extension package to do so! (If there are any data types that you think would be particularly useful but don't have time to implement yourself, let me know, too!)
The extensibility is provided through an IHaskell.Display module. For instance, if you are creating an extension for a particular package foo, you should create a package called ihaskell-foo. This package should contain a module along the following lines:
-- The name is important
module IHaskell.Display.Foo where
import Foo (DataThing)
-- Define how to display my data thing
instance IHaskellDisplay DataThing where
display myDataThing =
[ plain "Plain Text output"
, html "<b>HTML output</b>"]
I would love to work with anyone who's interested in helping create these packages to make IHaskell as useful as possible. In addition, if you have any features you think would really make this more useful or bugs you've found, let me know!
If you have any issues with installation, please let me know. I've had some trouble with getting a Hackage-based installation to work, so for now it's just from the Github repository, but I'd be happy to help people individually.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe