editable

Interactive editors for Generics https://github.com/maxpow4h/editable

Latest on Hackage:1.0.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD2 licensed by Maxwell Swadling

Editable can derive editors for data types.

Add deriving Generic and instance Editable Foo to your data type, and you can launch an editor for it with editor :: Editable a => a -> IO a.

module Demo where

import Data.Editable
import GHC.Generics

data Foo = Bar String Int | Baz Int
  deriving (Show, Generic)

instance Editable Foo

Depends on:
Used by 1 package:
comments powered byDisqus