forked from mxswd/editable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditable.cabal
More file actions
47 lines (44 loc) · 1.44 KB
/
editable.cabal
File metadata and controls
47 lines (44 loc) · 1.44 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
44
45
46
47
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: examples/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 && < 5
, brick >= 0.10 && < 0.12
, vty >= 5.10 && < 5.12
, text >= 1.1 && < 1.3
hs-source-dirs: src
default-language: Haskell2010