The editable package

[ Tags: 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


Dependencies base (>=4.6 && <4.8), text (==1.1.*), vty (==4.7.5), vty-ui (==1.7.*) [details]
License BSD2
Copyright Copyright (C) 2014 Maxwell Swadling
Author Maxwell Swadling
Category Data
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Sun Oct 5 04:00:24 UTC 2014 by MaxwellSwadling
Distributions NixOS:
Downloads 630 total (3 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees