Hey everyone!
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:
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)
import IHaskell.Display
-- 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.