Skip to content

Commit 45d4de6

Browse files
committed
Rename base and containers to agda2hs-base and agda2hs-containers respectively
1 parent 810a88a commit 45d4de6

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

docs/source/introduction.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- [Agda programming language](https://github.com/agda/agda)
1010
- version >= 2.6.4 && < 2.6.5
1111
- [Agda standard library](https://github.com/agda/agda-stdlib)
12-
- Agda library `base`
12+
- Agda library `agda2hs-base`
1313
- this Agda library is included in the `agda2hs` repository; see
1414
[`base.agda-lib`](https://github.com/agda/agda2hs/blob/master/lib/base/base.agda-lib)
1515
- you can navigate the library in [HTML format](https://agda.github.io/agda2hs/lib/),
@@ -34,7 +34,7 @@ agda2hs locate >> ~/.agda/libraries
3434
Optionally, the `base.agda-lib` library can also be added as a default global import:
3535

3636
```sh
37-
echo base >> ~/.agda/defaults
37+
echo agda2hs-base >> ~/.agda/defaults
3838
```
3939

4040
### Manual installation
@@ -51,7 +51,7 @@ cabal install
5151
# register the base Agda library
5252
echo $(pwd)/lib/base/base.agda-lib >> ~/.agda/libraries
5353
# register the base Agda library as a default
54-
echo base >> ~/.agda/defaults
54+
echo agda2hs-base >> ~/.agda/defaults
5555
```
5656

5757
### Running `agda2hs`
@@ -74,8 +74,8 @@ TODO: integrate agda2hs as a preprocessor for stack
7474

7575
### Creating an Agda2Hs project
7676

77-
All agda2hs projects should have a dependency on the `base` library provided by
78-
Agda, and can also optionally depend on the `containers` library. Using Agda's
77+
All agda2hs projects should have a dependency on the `agda2hs-base` library provided by
78+
Agda, and can also optionally depend on the `agda2hs-containers` library. Using Agda's
7979
standard library with agda2hs is not supported.
8080

8181
All agda2hs projects should enable the `--erasure` option of Agda. It is also

docs/source/tutorials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This is how the `example-basics.agda-lib` file looks for our project:
2323
```
2424
name: example-basics
2525
include: .
26-
depend: base
26+
depend: agda2hs-base
2727
flags: --erasure --no-projection-like
2828
```
2929
The `include` label specifies the current folder as the path for files to be included in the library. For our toy example it works perfectly, but for a bigger library it might be handy to place all the `.agda` files in a single repository such as `src`.

lib/base/base.agda-lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- * mirrors the Haskell `base` package
33
-- * is intertwined with `agda2hs`
44

5-
name: base
5+
name: agda2hs-base
66
depend:
77
include: .
88
flags: -W noUnsupportedIndexedMatch --erasure --no-projection-like

lib/containers/containers.agda-lib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: containers
1+
name: agda2hs-containers
22
include: agda
33
depend:
4-
base
4+
agda2hs-base
55
flags: --erasure --no-import-sorts --no-projection-like

0 commit comments

Comments
 (0)