1
1
# implicit-hie
2
2
``` bash
3
3
cd your-stack-or-cabal-package
4
- gen-hie
4
+ gen-hie > hie.yaml
5
5
```
6
6
` gen-hie ` should be run the root of a cabal or stack project.
7
7
The config type (cabal or stack) is determined by the existence of
@@ -12,16 +12,45 @@ The config type (cabal or stack) is determined by the existence of
12
12
❯ git clone https://github.com/well-typed/optics.git
13
13
❯ cd optics
14
14
❯ gen-hie
15
- wrote Cabal /home/user/optics/indexed-profunctors/hie.yaml
16
- wrote Cabal /home/user/optics/optics-th/hie.yaml
17
- wrote Cabal /home/user/optics/optics-vl/hie.yaml
18
- wrote Cabal /home/user/optics/codegen/hie.yaml
19
- wrote Cabal /home/user/optics/optics-core/hie.yaml
20
- wrote Cabal /home/user/optics/optics-sop/hie.yaml
21
- wrote Cabal /home/user/optics/optics-extra/hie.yaml
22
- wrote Cabal /home/user/optics/template-haskell-optics/hie.yaml
23
- wrote Cabal /home/user/optics/optics/hie.yaml
24
- wrote Cabal /home/user/optics/metametapost/hie.yaml
15
+ cradle:
16
+ cabal:
17
+ - path: " indexed-profunctors/src"
18
+ component: " lib:indexed-profunctors"
19
+
20
+ - path: " optics-th/src"
21
+ component: " lib:optics-th"
22
+
23
+ - path: " optics-th/tests"
24
+ component: " optics-th:test:optics-th-tests"
25
+
26
+ - path: " optics-vl/src"
27
+ component: " lib:optics-vl"
28
+
29
+ - path: " codegen/./Subtypes.hs"
30
+ component: " optics-codegen:exe:optics-codegen-subtypes"
31
+
32
+ - path: " optics-core/src"
33
+ component: " lib:optics-core"
34
+
35
+ - path: " optics-sop/src"
36
+ component: " lib:optics-sop"
37
+
38
+ - path: " optics-extra/src"
39
+ component: " lib:optics-extra"
40
+
41
+ - path: " template-haskell-optics/src"
42
+ component: " lib:template-haskell-optics"
43
+
44
+ - path: " optics/src"
45
+ component: " lib:optics"
46
+
47
+ - path: " optics/tests"
48
+ component: " optics:test:optics-tests"
49
+
50
+ - path: " metametapost/src/Cli.hs"
51
+ component: " metametapost:exe:metametapost-optics"
52
+
53
+
25
54
```
26
55
27
56
## Features
0 commit comments