Skip to content

Commit

Permalink
update unbound-generics cabal version, remove github dep
Browse files Browse the repository at this point in the history
  • Loading branch information
sweirich committed Jul 5, 2023
1 parent da1e824 commit b56cb0c
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 41 deletions.
24 changes: 13 additions & 11 deletions full/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,24 @@ Installation

Recommended tools (see links for instructions):

1. [ghcup](https://www.haskell.org/ghcup/)
1. [gchup](https://www.haskell.org/ghcup/)

The ghcup tool is an installer for general purpose Haskell tools, including GHC, Cabal, Stack and the Haskell language server (HLS). You'll want to install the recommended versions of all of these tools. Older versions are likely to work too, but the stack.yaml file will force a specific version of GHC.
The gchup tool is an installer for general purpose Haskell tools, including GHC, Cabal, Stack and the Haskell language server (HLS). You'll want to install the recommended versions of all of these tools.

2. [VSCode](https://code.visualstudio.com/) and [Haskell language extension](https://marketplace.visualstudio.com/items?itemName=haskell.haskell)
2. [VSCode](https://code.visualstudio.com/) and [Haskell language extension](https://marketplace.visualstudio.com/items?itemName=haskell.haskell)

I recommend using VSCode to browse and edit Haskell projects. When working with the `pi-forall` repository, you should open the folder for the specific implementation that you want to work with (i.e. `version1`/`version2`/`full`), so that the Haskell language server
can find the project metadata. If you open the toplevel `pi-forall` folder instead, you will get errors from vscode.


Project Contents
-----------------
Contents
--------

There are several versions of `pi-forall` in the repository. See the
[documentation](https://github.com/sweirich/pi-forall/blob/2023/doc/oplss.pdf) for an extended
description of what parts of the language are covered by each version.

When you open the project in vscode, you should open the folder for the implementation that
you want to work with (i.e. `version1`/`version2`/`full`), so that the Haskell language server
can find the project metadata.

Each implementation has the following structure:

```
Expand All @@ -52,7 +53,7 @@ Each implementation has the following structure:
```

To build each version, use a terminal to go to that directory and type:
To build each version, go to that directory and type:

```
stack build
Expand All @@ -64,11 +65,12 @@ and to typecheck a source file:
stack exec -- pi-forall <sourcefile>
```


Versioning
----------

This repository has been tested with the current ghcup recommended tool versions for July 2023, including GHC 9.4.5, hsl 2.0.0.1 and stack lts-21.1.
This repository has been tested with the current ghcup recommended tool versions for June 2023, including GHC 9.2.7 and stack lts-20.24.



Acknowledgement
---------------
Expand Down
2 changes: 1 addition & 1 deletion full/pi-forall.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ common shared-properties
parsec >= 3.1.8 && < 3.2,
mtl >= 2.2.1,
pretty >= 1.0.1.0,
unbound-generics >= 0.2,
unbound-generics >= 0.4.3,
transformers,
array >= 0.3.0.2 && < 0.6,
containers,
Expand Down
5 changes: 0 additions & 5 deletions full/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resolver: lts-21.1
packages:
- '.'

extra-deps:
- git: [email protected]:lambdageek/unbound-generics.git
commit: a2a558058012b09bb313b3eb03cddb734fcf4a98


flags: {}

extra-package-dbs: []
Expand Down
2 changes: 1 addition & 1 deletion main/pi-forall.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ common shared-properties
parsec >= 3.1.8 && < 3.2,
mtl >= 2.2.1,
pretty >= 1.0.1.0,
unbound-generics >= 0.2,
unbound-generics >= 0.4.3,
transformers,
array >= 0.3.0.2 && < 0.6,
containers,
Expand Down
5 changes: 0 additions & 5 deletions main/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resolver: lts-21.1
packages:
- '.'

extra-deps:
- git: [email protected]:lambdageek/unbound-generics.git
commit: a2a558058012b09bb313b3eb03cddb734fcf4a98


flags: {}

extra-package-dbs: []
Expand Down
2 changes: 1 addition & 1 deletion version1/pi-forall.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ common shared-properties
parsec >= 3.1.8 && < 3.2,
mtl >= 2.2.1,
pretty >= 1.0.1.0,
unbound-generics >= 0.2,
unbound-generics >= 0.4.3,
transformers,
array >= 0.3.0.2 && < 0.6,
containers,
Expand Down
5 changes: 0 additions & 5 deletions version1/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resolver: lts-21.1
packages:
- '.'

extra-deps:
- git: [email protected]:lambdageek/unbound-generics.git
commit: a2a558058012b09bb313b3eb03cddb734fcf4a98


flags: {}

extra-package-dbs: []
Expand Down
2 changes: 1 addition & 1 deletion version2/pi-forall.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ common shared-properties
parsec >= 3.1.8 && < 3.2,
mtl >= 2.2.1,
pretty >= 1.0.1.0,
unbound-generics >= 0.2,
unbound-generics >= 0.4.3,
transformers,
array >= 0.3.0.2 && < 0.6,
containers,
Expand Down
5 changes: 0 additions & 5 deletions version2/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resolver: lts-21.1
packages:
- '.'

extra-deps:
- git: [email protected]:lambdageek/unbound-generics.git
commit: a2a558058012b09bb313b3eb03cddb734fcf4a98


flags: {}

extra-package-dbs: []
Expand Down
2 changes: 1 addition & 1 deletion version3/pi-forall.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ common shared-properties
parsec >= 3.1.8 && < 3.2,
mtl >= 2.2.1,
pretty >= 1.0.1.0,
unbound-generics >= 0.2,
unbound-generics >= 0.4.3,
transformers,
array >= 0.3.0.2 && < 0.6,
containers,
Expand Down
5 changes: 0 additions & 5 deletions version3/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resolver: lts-21.1
packages:
- '.'

extra-deps:
- git: [email protected]:lambdageek/unbound-generics.git
commit: a2a558058012b09bb313b3eb03cddb734fcf4a98


flags: {}

extra-package-dbs: []
Expand Down

0 comments on commit b56cb0c

Please sign in to comment.