-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathrecord-dot-preprocessor.cabal
More file actions
85 lines (81 loc) · 2.5 KB
/
record-dot-preprocessor.cabal
File metadata and controls
85 lines (81 loc) · 2.5 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
cabal-version: 1.18
build-type: Simple
name: record-dot-preprocessor
version: 0.2.17
license: BSD3
x-license: BSD-3-Clause OR Apache-2.0
license-file: LICENSE
category: Development
author: Neil Mitchell <ndmitchell@gmail.com>
maintainer: Neil Mitchell <ndmitchell@gmail.com>
copyright: Neil Mitchell 2018-2024
synopsis: Preprocessor to allow record.field syntax
description:
In almost every programming language @a.b@ will get the @b@ field from the @a@ data type, and many different data types can have a @b@ field.
The reason this feature is ubiquitous is because it's /useful/.
The @record-dot-preprocessor@ brings this feature to Haskell - see the README for full details.
homepage: https://github.com/ndmitchell/record-dot-preprocessor#readme
bug-reports: https://github.com/ndmitchell/record-dot-preprocessor/issues
extra-doc-files:
README.md
CHANGES.txt
tested-with: GHC==9.8, GHC==9.6, GHC==9.4, GHC==9.2, GHC==9.0, GHC==8.10, GHC==8.8
extra-source-files:
examples/Both.hs
examples/Both2.hs
examples/Header_in.hs
examples/Preprocessor.hs
examples/Readme.hs
source-repository head
type: git
location: https://github.com/ndmitchell/record-dot-preprocessor.git
library
default-language: Haskell2010
hs-source-dirs:
plugin
preprocessor
build-depends:
base >= 4.8 && < 5,
uniplate,
ghc >=8.6 && <9.9,
extra
exposed-modules:
RecordDotPreprocessor
RecordDotPreprocessor.Lib
other-modules:
Compat
Edit
Lexer
Paren
executable record-dot-preprocessor
default-language: Haskell2010
hs-source-dirs: preprocessor
main-is: Preprocessor.hs
ghc-options: -main-is Preprocessor
build-depends:
base >= 4.8 && < 5,
extra
other-modules:
Edit
Lexer
Paren
test-suite record-dot-preprocessor-test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: preprocessor, test
main-is: Test.hs
ghc-options: -main-is Test.main
build-depends:
base == 4.*,
extra,
record-hasfield,
filepath
if impl(ghc >= 8.6)
build-depends:
record-dot-preprocessor
other-modules:
PluginExample
Preprocessor
Edit
Lexer
Paren