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

Properties

Versions 1.0.0.0, 1.0.0.1, 1.0.0.2
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
Maintainer maxwellswadling@gmail.com
Category Data
Home page https://github.com/maxpow4h/editable
Bug tracker https://github.com/maxpow4h/editable/issues
Source repository head: git clone git://github.com/maxpow4h/editable.git
Uploaded Sun Oct 5 04:00:24 UTC 2014 by MaxwellSwadling
Distributions NixOS:1.0.0.2
Downloads 716 total (72 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees