Skip to content

Commit daa23b3

Browse files
committed
docs: show how to cabal repl module NgxExport
1 parent 8279736 commit daa23b3

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

aliases/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Aliases
1+
#### Aliases
22

33
This module declares handy aliases for common patterns built of directives from
44
Nginx Haskell module. The alias directives and their translations are listed in
@@ -21,7 +21,7 @@ expressions.
2121

2222
No directive from this module requires loading a Haskell library.
2323

24-
##### Build
24+
#### Build
2525

2626
To build the module, add option
2727
`--add-module=/path/to/nginx-haskell-module/aliases` after option

docs/yet-another-doc-with-examples/test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Building and installation
1+
#### Building and installation
22

33
The build tool requires Cabal, [*patchelf*](https://github.com/NixOS/patchelf),
44
and utility *nhm-tool* which is shipped with package *ngx-export-distribution*.

haskell/ngx-export/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ $ cabal v1-install ngx-export
3333
$ cabal build
3434
```
3535

36+
The module can be loaded in the *REPL* with
37+
38+
```ShellSession
39+
$ cabal repl --repl-options=-fobject-code
40+
```
41+

0 commit comments

Comments
 (0)