editable: Interactive editors for Generics

[ bsd2, data, library ] [ Propose Tags ]

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

Versions [faq],,
Dependencies base (>=4.6 && <4.8), text (==1.1.*), vty (==4.7.5), vty-ui (==1.7.*) [details]
License BSD-2-Clause
Copyright Copyright (C) 2014 Maxwell Swadling
Author Maxwell Swadling
Maintainer maxwellswadling@gmail.com
Category Data
Home page https://github.com/maxpow4h/editable
Bug tracker https://github.com/maxpow4h/editable/issues
Source repo head: git clone git://github.com/maxpow4h/editable.git
Uploaded by MaxwellSwadling at 2014-10-05T04:00:24Z
Distributions NixOS:
Downloads 1973 total (41 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees