Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Agda 2.6.4 #814

Merged
merged 22 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f8af639
set `--level-universe` flag
fredrik-bakke Oct 7, 2023
e7f688f
bump agda version to `2.6.4`
fredrik-bakke Oct 7, 2023
707cd25
Merge branch 'master' into agda-v2.6.4
EgbertRijke Oct 16, 2023
ca8e22a
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Oct 16, 2023
d6cc503
Revert `--level-universe`
fredrik-bakke Oct 16, 2023
6d4d9ab
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Oct 16, 2023
8796a1e
fix links
fredrik-bakke Oct 18, 2023
6517193
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Oct 18, 2023
3e76907
pre-commit
fredrik-bakke Oct 18, 2023
c9f67c9
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Oct 18, 2023
47bb66d
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Oct 21, 2023
c0254f8
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Oct 30, 2023
616fe6b
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Nov 11, 2023
97b1ed3
bump `wenkokke/setup-agda`
fredrik-bakke Nov 11, 2023
0d579e4
Update DESIGN-PRINCIPLES.md
fredrik-bakke Nov 14, 2023
b21ec9b
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Nov 14, 2023
22229c3
Bump nixpkgs for Agda 2.6.4
VojtechStep Nov 14, 2023
3e34ff2
Merge pull request #3 from VojtechStep/agda-v2.6.4
fredrik-bakke Nov 14, 2023
ed43cd2
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Nov 23, 2023
341bf17
Merge branch 'master' into agda-v2.6.4
fredrik-bakke Nov 24, 2023
a4eb29d
Merge branch 'master' into agda-v2.6.4
EgbertRijke Nov 25, 2023
afcab4f
Merge branch 'master' into agda-v2.6.4
EgbertRijke Nov 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest]
agda: ['2.6.3']
agda: ['2.6.4']
steps:
- name: Checkout our repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
agda: ['2.6.3']
agda: ['2.6.4']
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
4 changes: 2 additions & 2 deletions DESIGN-PRINCIPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ to it. This document aims to provide a clear and concise introduction.

## Postulates and assumptions

The library assumes the `--without-K` and `--exact-split` flags of Agda and
makes use of several postulates.
The library assumes the `--without-K`, `--exact-split`, and `--level-universe`
flags of Agda and makes use of several postulates.
fredrik-bakke marked this conversation as resolved.
Show resolved Hide resolved

1. We make full use of Agda's `data` types for introducing inductive types.
2. We make full use of Agda's universe levels, including `ω`. However, it should
Expand Down
6 changes: 3 additions & 3 deletions HOWTO-INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Quick setup

To work or experiment with the `agda-unimath` library on your machine, you will
need to have `agda` version 2.6.3 installed, and a suitable editor such as
need to have `agda` version 2.6.4 installed, and a suitable editor such as
[Emacs](https://www.gnu.org/software/emacs/) or
[Visual Studio Code](https://code.visualstudio.com/). The following instructions
will help you on your way right away:
Expand Down Expand Up @@ -122,15 +122,15 @@ working branches when necessary.

## Installing Agda {#installing-agda}

The `agda-unimath` library is built and verified with Agda 2.6.3, and we provide
The `agda-unimath` library is built and verified with Agda 2.6.4, and we provide
two methods for installation: with or without the package manager
[Nix](https://nixos.org/). Nix streamlines the installation of Agda and its
dependencies, providing a consistent and reproducible environment for the
library across different systems.

### Without Nix

To install Agda 2.6.3 without Nix, follow the
To install Agda 2.6.4 without Nix, follow the
[installation guide](https://agda.readthedocs.io/en/latest/getting-started/installation.html)
provided on the Agda documentation page.

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# files, and if these options are pervasive (i.e. they need to be enabled in all
# modules that include the modules that have them enabled), then they need to be
# added to the everything file as well.
everythingOpts := --guardedness
everythingOpts := --level-universe --guardedness

fredrik-bakke marked this conversation as resolved.
Show resolved Hide resolved
# use "$ export AGDAVERBOSE=-v20" if you want to see all
AGDAVERBOSE ?= -v1
AGDAFILES := $(shell find src -name temp -prune -o -type f \( -name "*.lagda.md" -not -name "everything.lagda.md" \) -print)
Expand Down
2 changes: 1 addition & 1 deletion agda-unimath.agda-lib
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: agda-unimath
include: src
flags: --without-K --exact-split --no-import-sorts --auto-inline
flags: --without-K --exact-split --level-universe --no-import-sorts --auto-inline
fredrik-bakke marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion scripts/demote_foundation_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def process_agda_file(agda_file, agda_options, root, temp_dir):
root = 'src'
temp_dir = 'temp'
status = 0
agda_options = '--without-K --exact-split --no-import-sorts --auto-inline --no-caching'
agda_options = '--without-K --exact-split --level-universe --no-import-sorts --auto-inline --no-caching'
fredrik-bakke marked this conversation as resolved.
Show resolved Hide resolved

temp_root = os.path.join(root, temp_dir)
shutil.rmtree(temp_root, ignore_errors=True)
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove_unused_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def process_agda_file(agda_file, agda_options, root, temp_dir):
root = 'src'
temp_dir = 'temp'
status = 0
agda_options = '--without-K --exact-split --no-import-sorts --auto-inline --no-caching'
agda_options = '--without-K --exact-split --level-universe --no-import-sorts --auto-inline --no-caching'
fredrik-bakke marked this conversation as resolved.
Show resolved Hide resolved

temp_root = os.path.join(root, temp_dir)
shutil.rmtree(temp_root, ignore_errors=True)
Expand Down
Loading