-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy patheditable.cabal
More file actions
43 lines (40 loc) · 1.34 KB
/
Copy patheditable.cabal
File metadata and controls
43 lines (40 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: editable
version: 1.0.0.2
synopsis: Interactive editors for Generics
description:
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
.
<<https://cloud.githubusercontent.com/assets/136101/3006789/f235419e-de4d-11e3-8a4e-796d5b9ae49c.png>>
license: BSD2
license-file: LICENSE
author: Maxwell Swadling
maintainer: maxwellswadling@gmail.com
copyright: Copyright (C) 2014 Maxwell Swadling
category: Data
build-type: Simple
homepage: https://github.com/maxpow4h/editable
bug-reports: https://github.com/maxpow4h/editable/issues
extra-source-files: demo.hs
cabal-version: >=1.10
source-repository head
type: git
location: git://github.com/maxpow4h/editable.git
library
ghc-options: -Wall
exposed-modules: Data.Editable
build-depends: base >=4.6 && <4.8, text >=1.1 && <1.2, vty == 4.7.5, vty-ui == 1.7.*
default-language: Haskell2010